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

Livereload reloads whole page even if only the css has changed #11

Closed
josepjaume opened this issue Oct 16, 2014 · 5 comments
Closed

Livereload reloads whole page even if only the css has changed #11

josepjaume opened this issue Oct 16, 2014 · 5 comments

Comments

@josepjaume
Copy link

I guess this has more to do with ember-cli (or even broccoli) but it impacts the effectiveness of live-reload.

When changing the css, and only the css, livereload signals the whole page to reload, since ember-cli will recompile the whole app and dump it on the dist folder again.

Do you know if there's any plans to support partial recompiling, so we can get the best of livereload? Reloading CSS only is a pleasure when it comes to style difficult-to-reach scenarios.

Thanks!

@rwjblue
Copy link
Member

rwjblue commented Oct 16, 2014

It is not currently in the works, but I think in general it is possible. Ember CLI will need to be updated to support this though.

@josepjaume
Copy link
Author

Thanks for your answer! It would be a great feature. Maybe just performing md5 checks before replacing the files and triggering livereload on the modifications might be enough?

@simonexmachina
Copy link

I've added a PR to handle this in ember-cli

@lukemelia
Copy link
Contributor

I think this issue can be closed.

@rwjblue rwjblue closed this as completed Apr 15, 2016
@rwjblue
Copy link
Member

rwjblue commented Apr 15, 2016

Thanks @lukemelia !

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

4 participants