Hi! I’m no expert here, but just throwing in debug suggestions
- Remove all non-crucial config like optimizations, pretty-print, source-map, closure-defines, preloads
- My experience is that reload times can vary greatly depending on the depth. Do you get different results changing your main/core cljs file vs one deep down?
- Did you try
Thanks! Others I have tried, but
:parallel-build not. Currently I am benchmarking a single file that has no dependencies other than it being
require’d from the cljs repl.
I think the bulk of that slowdown is due to other things than the compilation stage so parallel build did not help much (from
30 seconds to 28 🙂)
Is there a way to create a copy of a file if i am doing advanced build?
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
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?
127.0.0.1, but now it only appears to be happy with