Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

bundle not updated when watched #49

Open
kurtharriger opened this issue Apr 12, 2016 · 1 comment
Open

bundle not updated when watched #49

kurtharriger opened this issue Apr 12, 2016 · 1 comment

Comments

@kurtharriger
Copy link

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.

@screendriver
Copy link
Collaborator

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 😉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants