Skip to content

Inject new styles instead of reloading #1485

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

Closed
mensch opened this issue Jul 28, 2016 · 3 comments
Closed

Inject new styles instead of reloading #1485

mensch opened this issue Jul 28, 2016 · 3 comments
Labels
feature Issue that requests a new feature

Comments

@mensch
Copy link

mensch commented Jul 28, 2016

I'm running the new webpack version for a few days now and it's working splendidly. Webpack has been a great improvement regarding speed and the upgrade process was rather painless. Thank you for all the hard work so far!

I'm not sure if this is possible with LiveReload (this is still used, right?), but when developing for the web I use BrowserSync extensively and the option to inject styles when writing CSS or SASS instead of reloading the entire page/app is rather nice, as it doesn't reset the state of the page.

Would something be possible with the current webpack implementation?

@filipesilva filipesilva added feature Issue that requests a new feature type: discussion labels Jul 29, 2016
@filipesilva
Copy link
Contributor

We were looking at using HMR that I think also covers this scenario. See #893

@mensch
Copy link
Author

mensch commented Jul 29, 2016

Ah yes, from what I understand HMR would indeed cover my request scenario. I vaguely remember tinkering with some React starter projects supporting hot reloading.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

2 participants