I've built a ZAF app and started utilizing NPM and a simple build process. As soon as I ran `npm init` and installed a few packages, `zat server` fails on me:
2019-02-04 16:14:46 - Errno::EMFILE - Too many open files @ rb_sysopen - .../node_modules/lodash/toInteger.js:
... [long ruby stack trace omitted]
If I move my node_modules folder out of the app folder, then it works. I'm guessing this means that the zat tools serve up every file in the app folder, and if you start using node modules you end up with hundreds or thousands of files in the app folder.
I was hoping for a simple `exclude` key in the manifest.json or something, but I haven't been able to find anything regarding this. Is there a simple way to tell my app to differentiate between development resources and deployable resources?
Please sign in to leave a comment.