Closed ai212983 closed 9 months ago
It is intentional that warnings block hot-reload. Warnings are meant to be fixed, not ignored.
Pretty sure you can upgrade that particular library to get rid of the warning.
If you really must you can set :devtools {:ignore-warnings true}
in the build config, but I do not recommend doing so since some warnings may actually break your code and blow up hot-reload entirely.
Not sure if it is a bug or a feature, but it took me a while to figure out. If there are warnings during compilation, like
Reload hooks won't be triggered. This is unfortunate, because it is not always trivial to fix warnings for old code. Warnings for library code, like
doesn't affect hooks.
If this is a feature it would be nice to have it documented somewhere.