Fork me on GitHub
#figwheel
<
2018-10-04
>
raymcdermott16:10:55

on further study I can use the --init option on the command line to do this without the trick

bhauman16:10:56

ah yes good idea

bhauman16:10:10

@pesterhazy I’m wondering if we could come up with a pre-hook https://figwheel.org/config-options#pre-build-hooks that detects bundle file changes and reruns webpack

bhauman16:10:31

darn I meant to put this in #figwheel-main

bhauman16:10:56

Then I could add an option to :npm > :watch-n-webpack true

bhauman17:10:53

:watch-n-webpack [`src/js/index.js`]

raymcdermott18:10:45

@bhauman I guess you know that 1.10.0-alpha8 gives spec errors on ns with figwheel

bhauman18:10:19

did that solve it?

bhauman18:10:59

this is supposed to be fixed in 0.1.9

raymcdermott18:10:21

ah ok, my bad was running 0.1.8

raymcdermott18:10:07

I didn’t get the memo 😉

raymcdermott18:10:01

all appears to be well again

bhauman18:10:50

@raymcdermott are you using NPM libraries at all?

bhauman18:10:03

in your figwheel.main project?

raymcdermott18:10:49

no, all from cljsjs

bhauman18:10:02

I’m writing a very detailed doc on how to use NPM

bhauman18:10:10

that’s why I was curious