WYMeditor Development


Error Running $ grunt server

On some linux systems, (eg. Ubuntu 10.04), you see something like:

$ grunt server
Running "express:all" (express) task

Running "open:all" (open) task
Web server started on port:9000, hostname: [pid: 29903]

Running "watch" task
Waiting...Fatal error: watch ENOSPC

That ENOSPC thing is related to your inotify watchers. Basically, you’re trying to watch more files than are allowed.

Just Fix It

To just up the number of inotify watchers allowed, run:

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

More Details

For a more detailed explanation, see the guard/listen wiki.