Skip to content

Instantly share code, notes, and snippets.

@knu2xs
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save knu2xs/4ecba0805c28256169c7 to your computer and use it in GitHub Desktop.

Select an option

Save knu2xs/4ecba0805c28256169c7 to your computer and use it in GitHub Desktop.
Simple grunt-nodemon Gruntfile
'use strict';
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-nodemon');
grunt.initConfig({
nodemon: {
dev: {
script: 'app/index.js',
options: {
watch: 'app/**/*'
}
}
}
});
grunt.registerTask('serve', ['nodemon:dev']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment