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

The environment variable used to enable the polling file watcher has been renamed #186

Open
victorhurdugaci opened this issue May 26, 2016 · 0 comments

Comments

@victorhurdugaci
Copy link

Before
  • Razor (through FileSystem) was using ASPNETCORE_POLL_FOR_FILE_CHANGES
  • Dotnet watch was using USE_POLLING_FILE_WATCHER
After
  • everyone uses DOTNET_USE_POLLING_FILE_WATCHER
PRs
Background

The DOTNET_USE_POLLING_FILE_WATCHER environment variable, if set to 1 or true, will change the file watchers to switch to a polling mode rather that relying on the OS to notify about a file change. There's a small performance hit and memory increase when using the polling watcher.

The polling file watchers are mostly used in Docker when running code from a shared volume.

@victorhurdugaci victorhurdugaci added this to the 1.0.0 milestone May 26, 2016
@aspnet aspnet locked and limited conversation to collaborators May 26, 2016
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

1 participant