Skip to content

Instantly share code, notes, and snippets.

@indatawetrust
Created July 24, 2016 14:02
Show Gist options
  • Save indatawetrust/6facd479da268fb865b94dd1914088f3 to your computer and use it in GitHub Desktop.
Save indatawetrust/6facd479da268fb865b94dd1914088f3 to your computer and use it in GitHub Desktop.
gulp nodemon
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