user2066880
user2066880

Reputation: 5024

Using grunt-develop

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

Answers (1)

frankvm04
frankvm04

Reputation: 91

This is from the comment on a similar question:

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

Upvotes: 2

Related Questions