Code reloading happening multiple times

OK, scratch that… this post did solve my problem, I just didn’t do it properly. I only upgraded the esbuild package but didn’t touch the version number in config/config.exs.

However, I don’t understand this. If I put 0.4.0 in config/config.exs, I get a warning: expecting esbuild version 0.4.0 but got . (ie, blank version). If I change the config/config.exs value to 0.13.5 (mix version is still 0.4.0) then everything works just fine. I’m pretty confounded by this…

EDITED to add: wait no, that makes sense. The hex package version and esbuild versions are not tied… adoi!

5 Likes