Skip to content

Make it possible to disable Live reloading #1428

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
manuel-mauky opened this issue Jan 23, 2017 · 1 comment
Closed

Make it possible to disable Live reloading #1428

manuel-mauky opened this issue Jan 23, 2017 · 1 comment

Comments

@manuel-mauky
Copy link

Most of the time I find the live reloading useful but in some situations I would like to disable it:

When I'm working on the styling of components I find it convenient to directly adjust and fine-tune the styling in the browser dev tools. When I found good styling values I need to "copy+paste" them into my code editor. For this I need to switch between the editor and the browser multiple times. However, I'm using WebStorm as Editor which automatically saves files when it looses focus. This means that every time I'm switching from WebStorm to the Browser the app gets reloaded and the styles I've adjusted in the browser dev tools are lost.

The desired behavior would be that the app gets rebuild under the hood but not reloaded. This way I can press F5 to see the actual most recent changes applied.

Maybe this is against the project goal of avoiding additional configuration flags but I just thought that I still should ask because maybe there is still a way to support this?

@gaearon
Copy link
Contributor

gaearon commented Feb 11, 2017

Hi, thanks for the suggestion!

However, I'm using WebStorm as Editor which automatically saves files when it looses focus.

This sounds like the problem here. Since WebStorm is an editor, presumably it’s more configurable than this tool, and there’s a way to disable saving on losing focus?

I think we won’t be making this configurable in the closest future.

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

No branches or pull requests

3 participants