Closed yogieputra8 closed 9 years ago
@yogieputra8 Sorry, this does not look like an issue with npm
to me. Perhaps you should try asking one of the authors of the module(s) you are having difficulty with, since they will know way more about their own module then anyone here will.
@KenanY ah I'm sorry, my bad. I'll move this issue to the related page
I have a yeoman angular web that I run with grunt serve.
I want to make this app running all the time. I never use any of forever module before.
I found and using a module called grunt-forever - https://www.npmjs.com/package/grunt-forever. But I don't know how to set up my gruntfile.js to use it to call the grunt serve command.
The server section of my grunt file is the standard one that gets generated by yeoman for an angular application. Here they are my Gruntfile.js:
Here is my Project's structure looks like:
In the last line of my Gruntfile.js I already add
grunt.loadNpmTasks('grunt-forever');
. When I dogrunt forever:server1:start
the terminal show me this messages:And here I added --force:
But nothing happen after this. Now, what else should I do to make my web keep alive at my ubuntu server?