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 using grunt task-runner in nodejs application.
I want to run another grunt task only after the server started by nodemon is listening to a port. Please note that i can't run the tasks concurrently (because i don't know in how much time server will start listening), so grunt-concurrent didn't helped.
How could i do that.?
I have the following task config with grunt-nodemon:
nodemon: {dev: {script: 'server.js',options: {// options ..callback : function(nodemon){nodemon.on('config:update',function(){console.log('reached here .. ');// this get consoled on screengrunt.task.run('mynewtask');});},// options ...}},exec: {options: {exec: 'less'}}}```javascriptButnothinghappensafterserverstartlistening.mynewtaskdoesnotstartatall.Notevenanyerrorisshown.
The text was updated successfully, but these errors were encountered:
I am using grunt task-runner in nodejs application.
I want to run another grunt task only after the server started by nodemon is listening to a port. Please note that i can't run the tasks concurrently (because i don't know in how much time server will start listening), so grunt-concurrent didn't helped.
How could i do that.?
I have the following task config with grunt-nodemon:
The text was updated successfully, but these errors were encountered: