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

bundle not updated when watched #49

@kurtharriger

Description

@kurtharriger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions