Closed maberer closed 10 years ago
Can you post your Gruntfile?
I removed everything except nodemon.
module.exports = (grunt) ->
grunt.initConfig
nodemon:
dev:
script: 'server/index.js'
watch: ['./server']
grunt.loadNpmTasks 'grunt-nodemon'
# Default task.
grunt.registerTask 'default', ['nodemon']
watch should be under options:
grunt.initConfig
nodemon:
dev:
script: 'server/index.js'
options:
watch: ['./server']
ohhh sorry I missed that...
Thanks a lot!
Thanks
It seems, that the watch option configured in "grunt-nodemon" is not given to nodemon (it always starts by watching the default root).
Other options have not been tested. Can this be confirmed?