Disable inotify for WSL tail -f
dblume

dblume commited on 2023-10-23 18:53:48
Showing 1 changed files, with 1 additions and 0 deletions.

... ...
@@ -89,6 +89,7 @@ if [[ $(uname -s) == CYGWIN* ]]; then
89 89
 elif [[ -n "${WSL_DISTRO_NAME}" ]]; then
90 90
     export BROWSER=/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe
91 91
     alias pbcopy='tee <&0 | /mnt/c/Windows/System32/clip.exe'
92
+    alias tail='tail ---disable-inotify'
92 93
 fi
93 94
 
94 95
 # change the color of directories in the ls command
95 96