Raise inotify file watchers

This commit is contained in:
David Heinemeier Hansson
2026-02-20 17:52:19 +01:00
parent 645118830e
commit e231697430
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ run_logged $OMARCHY_INSTALL/config/timezones.sh
run_logged $OMARCHY_INSTALL/config/increase-sudo-tries.sh
run_logged $OMARCHY_INSTALL/config/increase-lockout-limit.sh
run_logged $OMARCHY_INSTALL/config/ssh-flakiness.sh
run_logged $OMARCHY_INSTALL/config/increase-file-watchers.sh
run_logged $OMARCHY_INSTALL/config/detect-keyboard-layout.sh
run_logged $OMARCHY_INSTALL/config/xcompose.sh
run_logged $OMARCHY_INSTALL/config/mise-work.sh
+3
View File
@@ -0,0 +1,3 @@
# Increase inotify file watchers for VS Code, webpack, and other dev tools (default 8192 is too low)
echo "fs.inotify.max_user_watches=524288" | sudo tee /etc/sysctl.d/90-omarchy-file-watchers.conf >/dev/null
sudo sysctl --system >/dev/null 2>&1
+3
View File
@@ -0,0 +1,3 @@
echo "Increase inotify file watchers for dev tools"
bash $OMARCHY_PATH/install/config/increase-file-watchers.sh