folder content doesn't get refreshed automatically in ubuntu 14.04
The changes are not permanent, therefore
-
Edit the file
/etc/sysctl.conf
sudo nano /etc/sysctl.conf
-
Add the line below, eg
fs.inotify.max_user_watches=1000000
-
Reload the changes
sudo sysctl -p
You should see something like this
fs.inotify.max_user_watches = 1000000
and with
cat /proc/sys/fs/inotify/max_user_watches
1000000