Is there a way to create a copy of a file if i am doing advanced build?
https://github.com/bhauman/figwheel-main/blob/master/doc/figwheel-main-options.md#pre-build-hooks
i found this but i am not sure if this can be used in such a way.
Use case is i am hosting simple site on github pages
it requres index.html
to be top lvl
i have img paths in cljs which i can't move to css due to lib i am using (they require src string)
path for images is different for dev / prod build
i'd would like to create copy of img
folder top lvl when i am making prod build
executing shell command is also fine
Any one have any info around why this may be happening?
websocket.js:283 WebSocket connection to '<ws://localhost:9501/figwheel-connect?fwprocess=eb35fd&fwbuild=dev&fwsid=6191049d-6bdd-42a0-bb81-f27a12a7e63c&fwsname=Marty>' failed: Unknown reason
[goog.net.WebSocket] An error occurred: undefined
Which browser do you use?
chrome
figwheel-main seems to be stricter as well, the javascript environment would just launch when I connected to localhost
or 127.0.0.1
, but now it only appears to be happy with localhost
…