First of all, I install nodemon globally:
npm install -g nodemon
Then I try to start my apllication using the following command:
nodemon app.iced
And I get such error: "SyntaxError: Unexpected token ILLEGAL". However, I can run my application without nodemon without any errors:
iced --nodejs --debug app.iced
What the problem is?
Try starting your app with:
nodemon -x iced app.icedAlso, if you're using
nodemonyou're probably interested in monitoring and restarting on changes to your codebase. So, if you want to automatically restart when an.icedfile changes, you could do:nodemon -x iced app.iced -e ".iced"For more useful information on
nodemonparameters, usenodemon --help.