Using grunt-develop

user2066880

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?

frankvm04

This is from the comment on a similar question:

"Change it to grunt.registerTask('default', ['develop', 'watch'])"

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related