Fork me on GitHub
#lein-figwheel
<
2018-03-09
>
andrewboltachev18:03:13

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)

exit218:03:03

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

shaun-mahood19:03:32

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

andrewboltachev19:03:10

@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!

andrewboltachev19:03:12

Yes, That just tells me that my computer is slow though 😄

bhauman20:03:56

@njj you mean the minimal figwheel?

exit220:03:50

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

bhauman21:03:50

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