You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code will compile, and webpack will finish. But once the browser launches figwheel just sits without ever running anything.
If :optimization :whitespace is removed, (and thus the dependency to stream-http) is no longer needed, then it seems to work just fine.
Given how easy it is for clojurescript code to break only when optimizations are enabled, it would be good to be able to run tests with them turned on.
The text was updated successfully, but these errors were encountered:
Unfortunately figwheel communication via the REPL connection currently only work with optimizations :none. REPL communication is what's needed to send messages back and forth between the CLI process and the browser process which is running the tests. This has been baked in because you can't really do reloading with in any other optimization mode.
Technically it should be possible to do this but it would require a bit of a rethink just to hand this case.
Sad, but makes sense. Would it be worth adding a note that :optimizations must be either not provided or set to :none on this page?: https://figwheel.org/docs/testing.html
I made a minimal example demonstrating it here:
https://github.com/LeifAndersen/figwheel-idle-example
To reproduce (from within the folder) run:
The code will compile, and webpack will finish. But once the browser launches figwheel just sits without ever running anything.
If
:optimization :whitespace
is removed, (and thus the dependency tostream-http
) is no longer needed, then it seems to work just fine.Given how easy it is for clojurescript code to break only when optimizations are enabled, it would be good to be able to run tests with them turned on.
The text was updated successfully, but these errors were encountered: