-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When serving using a development server, the files are not properly refreshed #10
Comments
I did a simple project adapted from my bigger project here: https://github.com/julienw/wobble/tree/gobble-issue, so you can clone the repository and checkout the Then you can run |
I think the issue is that in the cache object, the grid.js file Now I don't know why the dep's file and id are in |
To me, there are 4 ways to fix this:
I'd suggest to do 1 first and then decide whether to do 2 3 or 4... |
I disabled the cache in https://github.com/julienw/gobble-browserify/tree/disable-cache and now it works fine for me. It's likely slower for big projects but I don't understand all this good enough to do better. |
I use [email protected] and [email protected].
Here is my quite simple gobblefile:
When I change a dependency (even a direct dependency from the main js file) the bundle.js file is not properly updated automatically, despite gobble outputting:
I use ES6 modules transformed by babel, so maybe that could be a reason, but I don't believe so. Looking into the
.gobblz
directory I can see that Babel properly picks up my changes but not browserify.The text was updated successfully, but these errors were encountered: