You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on CentOS and working on a node.js - angular.js project and I have setup node to keep running in background even when logged out from the terminal, using forever module.
I want to do the same for the frontend so it keeps running in the background. I am using Yoeman in the frontend and so far I have been launching the frontend using the command grunt serve.
I installed module grunt-forever but I am having issue configuring it.
I am on CentOS and working on a node.js - angular.js project and I have setup node to keep running in background even when logged out from the terminal, using
forever
module.I want to do the same for the frontend so it keeps running in the background. I am using Yoeman in the frontend and so far I have been launching the frontend using the command
grunt serve
.I installed module
grunt-forever
but I am having issue configuring it.After referring to the docs, I added:
at the beginning of the
module.exports
block and the following config at the bottom of themodule.exports
code block:When I did
grunt test
, I got:I still went ahead and did
grunt forever:lorem-server:start
, but got the same error.Here is my Gruntfile.js: https://gist.github.com/rahul-desai3/5c23629cc6ba1dc60e02
What am I doing wrong here? Can someone please point me in the right direction?
The text was updated successfully, but these errors were encountered: