bhauman / lein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Eclipse Public License 1.0
2.88k stars 210 forks source link

Allow propagation of changes to foreign-libs #745

Closed verma closed 4 years ago

verma commented 4 years ago

Allow propagation of changes made to any foreign lib files all the way to the UI.

I had an issue where any changes that I was making to my foreign-libs files weren't causing any reloads to happen on the client side. I traced that to this code which I've tried to modify to allow foreign-libs to be consulted for js->ns resolution.

The foreign lib lookup code just uses (.endsWith...) to check if a file is referenced in foreign-libs, I am not sure if this test is sufficient.

Thanks!

bhauman commented 4 years ago

Thanks!