what linux ppl dont know, there are ppl new to linux like me. So if you’re a noob, this is for you.
- Open a new
terminal. cat /proc/sys/fs/inotify/max_user_watches(might be a number 8k+)
now (a) for vim-Editor
- (a)
sudo vim /etc/sysctl.conf - (a) go all the way down and add a new line with:
fs.inotify.max_user_watches=524288(make sure you DONT have a#in front of the command) - (a) type
:wq!and press enter
or (b) for nano-Editor (thanks to @bradrar)
-
(b)
sudo nano /etc/sysctl.conf -
(b) go all the way down and add a new line with:
fs.inotify.max_user_watches=524288(make sure you DONT have a#in front of the command) - (b) type ctrl + x, type y and press enter
- type
sudo sysctl -p - type again:
cat /proc/sys/fs/inotify/max_user_watches(should be 500k+ now) - (thank me later.)