Skip to content

Commit 15b5daa

Browse files
committed
Make nodemon only watch server and common dirs
1 parent 844de6a commit 15b5daa

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Gruntfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,11 @@ module.exports = function (grunt) {
628628
grunt.registerTask('api', function () {
629629
nodemon({
630630
script: 'server/server.js',
631-
ext: 'js json'
631+
ext: 'js json',
632+
watch: [
633+
'common',
634+
'server'
635+
]
632636
})
633637
});
634638

0 commit comments

Comments
 (0)