Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grunt serve watch error - Waiting…Warning error: watch ENOSPC [duplicate]

Tags:

gruntjs

Running grunt serve on Linux creates an infinite loop:

$ grunt serve
Running "watch" task
Waiting...
Warning: watch ENOSPC

Running "watch" task
Waiting...
Warning: watch ENOSPC
...

Looking for suggestions to make it work.

like image 773
supercobra Avatar asked Nov 29 '22 14:11

supercobra


1 Answers

Try with this command:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

It should works.

like image 92
Mario Araque Avatar answered Dec 06 '22 13:12

Mario Araque