Closed dandee closed 8 years ago
My general recommendation is that you separate your front-end and back-end Nodal API into two separate projects. Might seem like a pain in the butt now, but we'll be offering a really seamless API deployment solution soon.
I've got a project where nodal serves as API (pure) provider and a UI is generated separately using Grunt. Anyway, inside project's directory structure a 'build' dir is created while building UI side of the project. When you run rebuild command (or watch command that calls rebuild) then the content inside 'build' dir is removed and recreated from scratch. And this trips up 'nodal s' server running in the background with the following error:
Project's directory structure under
/project/x/
is roughly following:npm-debug.log
contains:Launching 'nodal s' seems to be watching EVERYTHING in
./
. I think there should be way to handle the exception gracefully OR create a folder exclusion list in some config file.