I have a snowpack project that I started from the blank template. My index.js file calls a function from another module I'm developing that I have installed using npm link
.
When I change a file in the other module, it doesn't get updated in snowpack. Even when I restart the dev server, it doesn't update. I have to restart snowpack with the --reload
argument to clear the cache.
How do I make sure changes to files in node_modules
get recognized by snowpack so that they are rebuilt?