Skip to content
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

Don’t write js output when in extract mode. #123

Open
shirotech opened this issue Sep 17, 2018 · 1 comment
Open

Don’t write js output when in extract mode. #123

shirotech opened this issue Sep 17, 2018 · 1 comment

Comments

@shirotech
Copy link
Contributor

When I change a scss file in extract mode, it seems the bundle for js is being written again with the same exact content as before which is not needed. All I expect is for the output css to change, not the js as well. This is a problem for watchers, it will trigger a change regardless of content, I think it takes last modified timestamp. This causes the browser to reload, but I just want the css to be updated inline. Is there a workaround or a fix available? Thanks.

@tropperstyle
Copy link

+1

Running into the same issue. Updating the CSS file touches the JS file as well. I use a watcher to push updates immediately to the browser. Since the JS file updates, a full-page refresh occurs instead of an inline CSS update.

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

No branches or pull requests

2 participants