Reputation: 5024
I created a simple NodeJS + Express app that runs when I use node app.js
. Now, I'm trying to integrate grunt-develop. I configured it like so:
grunt.initConfig({
develop: {
server: {
file: 'app.js'
}
}
});
When I run grunt develop
, the log is:
Running "develop:server" (develop) task
[grunt-develop] > started application "app.js".
Done, without errors.
The server doesn't start and I get prompted for the next command. What am I doing wrong?
Upvotes: 2
Views: 463
Reputation: 91
This is from the comment on a similar question:
"Change it to grunt.registerTask('default', ['develop', 'watch'])
"
Upvotes: 2