Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

chokidar requirement from nunjucks requests fs.watch access #2

Open
gregorskii opened this issue Nov 6, 2015 · 0 comments
Open

chokidar requirement from nunjucks requests fs.watch access #2

gregorskii opened this issue Nov 6, 2015 · 0 comments

Comments

@gregorskii
Copy link
Contributor

This is requested even when system is not requesting watch using watch: true inside of nunjucks as watch is off by default:

http://mozilla.github.io/nunjucks/api.html#configure

This crashes on docker where file watch may not be available:

Error: watch ENOSPC
    at exports._errnoException (util.js:746:11)
    at FSWatcher.start (fs.js:1172:11)
    at Object.fs.watch (fs.js:1198:11)
    at createFsWatchInstance (/tbot/node_modules/kama/node_modules/nunjucks/node_modules/chokidar/lib/nodefs-handler.js:24:15)
    at setFsWatchListener (/tbot/node_modules/kama/node_modules/nunjucks/node_modules/chokidar/lib/nodefs-handler.js:47:19)
    at EventEmitter.NodeFsHandler._watchWithNodeFs (/tbot/node_modules/kama/node_modules/nunjucks/node_modules/chokidar/lib/nodefs-handler.js:177:15)
    at EventEmitter.NodeFsHandler._handleFile (/tbot/node_modules/kama/node_modules/nunjucks/node_modules/chokidar/lib/nodefs-handler.js:201:8)
    at EventEmitter.<anonymous> (/tbot/node_modules/kama/node_modules/nunjucks/node_modules/chokidar/lib/nodefs-handler.js:353:12)
    at FSReqWrap.oncomplete (fs.js:95:15)

Other resources:
foreversd/forever#739

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant