figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
gdanov 2018-11-29T10:56:17.069400Z

wasn't the documentation helpful? https://github.com/bhauman/lein-figwheel/wiki/Configuration-Options

gdanov 2018-11-29T10:57:12.069800Z

>:ring-handler hello_world.server/handler: If you want to embed a ring handler into the figwheel http-kit server; this is for simple ring servers, if this doesn't work for you just run your own server. Default: Off

2018-11-29T15:10:23.070400Z

Is there a way to just simply allow figwheel to inject code with warnings?

2018-11-29T15:10:36.070700Z

I'm having a ton of issues with false-positives

2018-11-29T15:12:12.071100Z

nvm, found it :load-warninged-code

2018-11-29T15:13:46.071900Z

would be great to have a filter for what warnings will and will not cause compilation to fail. For example, I don't care if a non-public function throws a warning (which I think might be a bug in the latest cljs compiler, the function i'm calling is public)

2018-11-29T15:14:05.072300Z

overall, i'm happy this configuration value exists 😉

hansw 2018-11-29T16:37:22.072900Z

hi all... Figwheel is greeting me with

Figwheel Server: Resource not found
Keep on figwheelin'

hansw 2018-11-29T16:37:41.073300Z

My app was there just an instant ago...

hansw 2018-11-29T16:38:37.074100Z

How do I debug this? there is no output in figwheel_server.log and lein hangs at:

Prompt will show when Figwheel connects to your application
[Rebel readline] Type :repl/help for online help info

hansw 2018-11-29T16:39:52.075400Z

^^ which is just before where it gives a prompt. So I have made some programming error, i guess, but I can't see any logging anywhere

hansw 2018-11-29T16:46:31.075900Z

At that point, the only way out is a ^C and a restart, which I have seen solving the issue sometimes (as in my app appears again, there is no 404). But not this time 😉

hansw 2018-11-29T17:56:40.076900Z

Found my programming error. Still would love for figwheel to give me feedback somehow. So if anyone knows how to turn on debug-logging somehow...