figwheel-main

figwheel-main http://figwheel.org
lepistane 2019-10-02T18:38:41.012800Z

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

lepistane 2019-10-02T18:59:37.013200Z

executing shell command is also fine

2019-10-02T22:34:51.013900Z

Any one have any info around why this may be happening?

websocket.js:283 WebSocket connection to '<ws://localhost:9501/figwheel-connect?fwprocess=eb35fd&amp;fwbuild=dev&amp;fwsid=6191049d-6bdd-42a0-bb81-f27a12a7e63c&amp;fwsname=Marty>' failed: Unknown reason
[goog.net.WebSocket] An error occurred: undefined

makinoshi 2019-10-02T22:48:37.014300Z

Which browser do you use?

2019-10-02T22:57:55.014600Z

chrome

2019-10-02T22:59:41.014800Z

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