Gulp Watch error en Ubuntu 14.04 [Resuelto]

6744
Gulp Watch error

Gulp Watch error en Ubuntu 14.04 [Resuelto]

[04:14:04] ‘watch’ errored after 19 ms
[04:14:04] Error: watch /opt/lampp/htdocs/avantrip/jack-cruceros/client/js ENOSPC
at exports._errnoException (util.js:870:11)
at FSWatcher.start (fs.js:1234:19)
at Object.fs.watch (fs.js:1262:11)
at Gaze._watchDir (/opt/lampp/htdocs/avantrip/jack-cruceros/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:289:30)
at /opt/lampp/htdocs/avantrip/jack-cruceros/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:358:10
at iterate (/opt/lampp/htdocs/avantrip/jack-cruceros/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/helper.js:52:5)
at Object.forEachSeries (/opt/lampp/htdocs/avantrip/jack-cruceros/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/helper.js:66:3)
at Gaze._initWatched (/opt/lampp/htdocs/avantrip/jack-cruceros/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:354:10)
at Gaze.add (/opt/lampp/htdocs/avantrip/jack-cruceros/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:177:8)
at new Gaze (/opt/lampp/htdocs/avantrip/jack-cruceros/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:74:10)

Solución

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