bundle not updated when watched
kurtharriger opened this issue · 1 comments
I'm attempting to use a watched bundle jspm <entry> bundle -wd
and hot reloading as described http://jspm.io/0.17-beta-guide/development-bundling.html and http://jspm.io/0.17-beta-guide/hot-reloading.html.
Hot reloading seems to be working just fine, but if I hard reload the page my styles revert back to the initially built bundle. If I grep build.js for background-color I find that the build.js was not updated when the I changed the styles.scss even though page was hot reloaded.
I have not used jspm before so very likely I have not configured something correctly or not using the tool as it was intended. Also starting with jspm@beta since its getting started doc included react, jsx, and hot-reloading, so it could also be a bug with that. Other js files appear to update in the bundle correctly so my best guess is the issue is with the plugin or I've not configured it properly.
I pushed my starter project to https://github.com/kurtharriger/hello-jspm/tree/sass-bug and the readme has basic steps I was doing to run this in development mode with hot reloading. When I run the project, then change style.scss it updates, but when I hard reload the page it reverts back to initial bundle.
Unfortunately I haven't played much with the new beta because I wait for the final release. Hot reloading is generally not working at my machine and no one could help me.
So I will try to reproduce your issue when the final version of jspm will be released 😉