VSC unable to watch for file changes in this large workspace weird

what linux ppl dont know, there are ppl new to linux like me. So if you’re a noob, this is for you.

  1. Open a new terminal.
  2. cat /proc/sys/fs/inotify/max_user_watches (might be a number 8k+)

now (a) for vim-Editor

  1. (a) sudo vim /etc/sysctl.conf
  2. (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)
  3. (a) type :wq! and press enter

or (b) for nano-Editor (thanks to @bradrar)

  1. (b) sudo nano /etc/sysctl.conf

  2. (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)

  3. (b) type ctrl + x, type y and press enter

  1. type sudo sysctl -p
  2. type again: cat /proc/sys/fs/inotify/max_user_watches (should be 500k+ now)
  3. (thank me later.)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)