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

Live reload causing a full refresh instead of injecting CSS #594

Closed
iansinnott opened this issue Jan 2, 2015 · 3 comments
Closed

Live reload causing a full refresh instead of injecting CSS #594

iansinnott opened this issue Jan 2, 2015 · 3 comments

Comments

@iansinnott
Copy link

Hey everyone, am I missing something here? When using other workflows (e.g. Gulp) on other projects changes to stylus files don't cause a full browser refresh. The resulting CSS changes are injected into the browser, which is really fast. Is this not supported by Roots?

Currently using 3.0.0-rc.10. Thanks.

@jescalan
Copy link
Owner

jescalan commented Jan 3, 2015

This is not currently supported by roots. I played around with css injection in an earlier version of roots and it was inconsistent, often things would bug out and I'd have to manually refresh. For this reason I just kept it as a full refresh. Perhaps the tech has improved since then and it's more reliable. We're taking a look at integrating browser-sync, which would solve this issue. If you're interesting in helping with this, that would be great.

For now I'm going to close this out as we can continue discussion in the browser-sync issue, but thanks for bringing it up!

@jescalan jescalan closed this as completed Jan 3, 2015
@iansinnott
Copy link
Author

Thanks Jeff, good to know. I will definitely keep an eye on this as so far it's the only thing I've found to not like about Roots.

On Sat, Jan 3, 2015 at 10:46 AM, Jeff Escalante [email protected]
wrote:

Closed #594.

Reply to this email directly or view it on GitHub:
#594 (comment)

@jescalan
Copy link
Owner

jescalan commented Jan 7, 2015

Awesome, I'm glad you're liking everything else haha. There are a few things we're working on and thinking about in the issues section that would improve roots anywhere from being marginally faster to orders of magnitude faster. Most of them are difficult issues, but we'll tackle them in time 😀

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