4

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.

Community
  • 1
  • 1
supercobra
  • 15,810
  • 9
  • 45
  • 51

1 Answers1

23

Try with this command:

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

It should works.

Mario Araque
  • 4,562
  • 3
  • 15
  • 25