Fork me on GitHub
#figwheel-main
<
2019-01-30
>
achikin13:01:35

@jkr.sw I have managed to suppress the logs through logback.xml but I still can't understand why figwheel-main needs to serve the dumb page

Jan K13:01:28

it's also serving the websockets used for reloading

achikin13:01:36

One more question - is there a way to enable rebel-readline through CLI?

achikin13:01:47

I have it disabled for a build, because otherwise it logs some errors when started from Cursive. But that'd be usable if I could enable rebel in lein alias command

achikin13:01:06

And another question: do I need to include :watch-dirs in every build?

achikin13:01:25

Isn't :source-paths enough?

achikin13:01:48

In general I'm confused with :source-paths. Before I was using lein-figwheel+lein-cljsbuild and cljsbuild had it's own :source-paths which didn't interfere with the "main" :source-paths of leiningen config. Now I need to add cljs source paths to the "global" lein source paths and then repeat them in :watch-dirs...

Jan K13:01:55

I don't think you need to set :watch-dirs. The flappy bird example project doesn't set it. Dunno about rebel-readline.

achikin14:01:31

Of all the Figwheel config options the one you will use the most often is the :watch-dirs option.

achikin14:01:46

While Figwheel will guess which directory to watch based on your :main namespace, it is better to configure this explicitly.

Jan K14:01:38

Well it doesn't say you have to set it. Whatever works 🙂