Created
July 24, 2016 14:02
-
-
Save indatawetrust/6facd479da268fb865b94dd1914088f3 to your computer and use it in GitHub Desktop.
gulp nodemon
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
var gulp = require('gulp') | |
var nodemon = require('gulp-nodemon') | |
gulp.task('debug', function () { | |
nodemon({ | |
execMap: { | |
js: 'node-inspector & node --debug' | |
}, | |
ext: 'js jade', | |
ignore: ['.idea/*', 'node_modules/*', 'public/*', 'docs/*'], | |
script: './bin/www', | |
verbose: true | |
}).on('start', ['']); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment