Skip to content

Instantly share code, notes, and snippets.

@yodarjun
Created December 3, 2014 16:53
Show Gist options
  • Save yodarjun/8d6f460a06e7e81ed263 to your computer and use it in GitHub Desktop.
Save yodarjun/8d6f460a06e7e81ed263 to your computer and use it in GitHub Desktop.
gulp.task('watch', ['js', 'less'], function() {
watch(paths.less, function(files, cb) {
gulp.start('less', cb);
});
watch(paths.js, function(files, cb) {
gulp.start('js', cb);
});
nodemon({
script: 'server.js',
watch: ['server.js'],
}).on('restart', function() {
gutil.log(gutil.colors.yellow('[express] server restarted'));
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment