Last active
August 29, 2015 14:04
-
-
Save knu2xs/4ecba0805c28256169c7 to your computer and use it in GitHub Desktop.
Simple grunt-nodemon Gruntfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| '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