i am trying to run a node file with grunt.js
for some reasons i am not able to provide the node file with argument.
this is what i want to happend:
node server/index.js -e development-local
and this is my configuration:
execute: {
development_target: {
src: ['index.js'],
options: {
args: ['e development-local',]
}
}
}
grunt.registerTask('serve-local', ['execute:development_target']);
but it is not working for some reason. i tried everything.
Aucun commentaire:
Enregistrer un commentaire