Skip to content

Instantly share code, notes, and snippets.

@dwalleck
Created April 9, 2019 16:31
Show Gist options
  • Save dwalleck/040fd13b505dab440a468ce1412d28ca to your computer and use it in GitHub Desktop.
Save dwalleck/040fd13b505dab440a468ce1412d28ca to your computer and use it in GitHub Desktop.
Place in /etc/sysctl.d to set max watchers correctly for VS Code on Linux
# Increase inotify limit, required by Visual Studio Code https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
fs.inotify.max_user_watches = 524288
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment