lein-figwheel

andrewboltachev 2018-03-09T18:37:13.000129Z

Hello. I'm writing code in vim (using React with reagent/re-frame) and my app gets reloaded twice. Is it possible to change debouncing time or some other option to prevent that? N.B. I tried :set backupcopy=yes but this doesn't help (edited)

exit2 2018-03-09T18:44:03.000340Z

@bhauman your gist has been helpful for express/cljs apps. Any experience with dockerizing that app?

shaun-mahood 2018-03-09T19:04:32.000232Z

@andrewboltachev: If you run figwheel from the terminal does it still reload twice?

andrewboltachev 2018-03-09T19:07:10.000256Z

@shaun-mahood uhm, didn't try this In fact, I've solved the problem by using the wait-time-ms https://github.com/bhauman/lein-figwheel/blob/master/sidecar/src/figwheel_sidecar/schemas/config.clj#L332 parameter, which was only introduced recently I had to switch to 0.5.16-SNAPSHOT version for it Anyway thx for help!

shaun-mahood 2018-03-09T19:07:31.000342Z

Awesome

andrewboltachev 2018-03-09T19:08:12.000036Z

Yes, That just tells me that my computer is slow though šŸ˜„

bhauman 2018-03-09T20:16:56.000323Z

@njj you mean the minimal figwheel?

exit2 2018-03-09T20:27:25.000380Z

Iā€™m referring to this gist here: https://gist.github.com/bhauman/c63123a5c655d77c3e7f

exit2 2018-03-09T20:37:50.000181Z

@bhauman maybe it will help if I share our server?

bhauman 2018-03-09T21:57:50.000130Z

@njj yeah I know nothing about docker but you will not want figwheel in there when you build it for docker