Fork me on GitHub
#cljs-dev
<
2022-06-18
>
dnolen13:06:08

@dominicm probably need more information about what you are trying to do, adding more config is not desirable

dominicm14:06:10

@dnolen trying to get webpack's hot reloading to work with cljs so that updates to js files can be reloaded when using figwheel, etc. I need to trigger when npm_deps.js is reloaded, mutate the npmDeps var, then reload any namespaces using that react dependency.

dominicm14:06:57

Webpack lets you subscribe to a reload by referencing module.hot at build time. So you reference that at the end of your file.