CoderDojo / community-platform

Zen, the CoderDojo Community Platform!
https://zen.coderdojo.com
MIT License
121 stars 55 forks source link

Gulp doesn't run from localdev.js on Linux #1154

Closed DanielBrierton closed 7 years ago

DanielBrierton commented 7 years ago

The LESS watcher is initialised from running gulp dev in cp-zen-platform. ./localdev.js run zen is supposed to run this gulp dev, and it does on Mac, but not on Linux (at least, not for @Wardormeur and @BSKERRITT)

howardjing commented 7 years ago

I ran into this issue as well -- this stack overflow question was helpful. It looks like increasing the number of files you can watch at a time fixed the issue for me.

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Wardormeur commented 7 years ago

Indeed, it's both a system issue (inotify conf) and a development issue (how do we declare what to watch).