Skip to content

Disable refresh on file change temporary #3812

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
TryingToImprove opened this issue Jan 16, 2018 · 1 comment
Closed

Disable refresh on file change temporary #3812

TryingToImprove opened this issue Jan 16, 2018 · 1 comment

Comments

@TryingToImprove
Copy link

Is this a bug report?

No

Question

Is there a way to temporary disable the refresh/(css hot reload) when a file changes, without stopping the dev-server?

Reason for this

Sometimes I change the CSS in DevTools to get my page to look like I want. After that I copy the CSS changes over to my code, but when I save my file, all the changes I had not copied are lost.

I can "fix" this by copy all of CSS changes to their respective files and use "Save all files", but sometimes I need to see result before all the changes have been copied.

I have tried using "offline"-mode in DevTool, but it will still trigger a refresh, which will cause a "Offline"-chrome page.

@TryingToImprove TryingToImprove changed the title Disable refresh when file changes temporary Disable refresh on file change temporary Jan 16, 2018
@Timer
Copy link
Contributor

Timer commented Jan 16, 2018

This is not possible, but there's work around posted in old issues.

Try #2519 (comment)!

@Timer Timer closed this as completed Jan 16, 2018
@lock lock bot locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants