figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
raymcdermott 2018-10-04T16:30:55.000100Z

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

bhauman 2018-10-04T16:54:56.000100Z

ah yes good idea

bhauman 2018-10-04T16:58:10.000100Z

@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

bhauman 2018-10-04T16:58:31.000200Z

darn I meant to put this in #figwheel-main

bhauman 2018-10-04T16:59:56.000100Z

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

bhauman 2018-10-04T17:00:53.000100Z

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

raymcdermott 2018-10-04T18:08:45.000100Z

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

bhauman 2018-10-04T18:18:27.000100Z

@raymcdermott hmmm

bhauman 2018-10-04T18:20:19.000100Z

did that solve it?

bhauman 2018-10-04T18:20:59.000100Z

this is supposed to be fixed in 0.1.9

raymcdermott 2018-10-04T18:21:21.000100Z

ah ok, my bad was running 0.1.8

bhauman 2018-10-04T18:21:27.000100Z

oh cool

bhauman 2018-10-04T18:21:29.000100Z

good

raymcdermott 2018-10-04T18:22:07.000100Z

I didn’t get the memo 😉

raymcdermott 2018-10-04T18:23:01.000100Z

all appears to be well again

bhauman 2018-10-04T18:23:50.000100Z

@raymcdermott are you using NPM libraries at all?

bhauman 2018-10-04T18:24:03.000100Z

in your figwheel.main project?

raymcdermott 2018-10-04T18:24:49.000100Z

no, all from cljsjs

bhauman 2018-10-04T18:25:39.000100Z

cool 🙂

bhauman 2018-10-04T18:26:02.000200Z

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

bhauman 2018-10-04T18:26:10.000100Z

that’s why I was curious