gulp.task('server', function() { return nodemon({ script: 'app/server/server', ext: 'js,html', verbose: true, watch: _.union(defaultAssets.server.views, defaultAssets.server.allJS) }); });
gulp.task('start', function () { nodemon({ script: 'server.js', ext: 'js', env: { 'NODE_ENV': 'development' } }) });
gulp.task('start', function () { nodemon({ script: 'app.js', ext: 'js html jsx', env: { 'NODE_ENV': process.env.NODE_ENV || 'development' } }); });
gulp.task('api', function() { //TODO: todo ;) nodemon({ script: 'srv/app.js' }); });
gulp.task('nodemon', ['build', 'scripts'], function(done){ nodemon({ script: 'index.js', ext: 'html js' }) // done() })
gulp.task('dev', ['copy'], function() { nodemon({ script: 'server.js', ext: 'js html', env: { 'NODE_ENV': 'development' } }) });
gulp.task('nodemon', function (cb) { return nodemon({ script: 'index.js', ignore: ['public/'] }); });
/* Task to start up the server with nodemon and rebuild/restart if any source changes */ gulp.task('host', ['build-bundle'], function() { nodemon({ ext: 'js', script: './dist/server.js', tasks: ['build'] }); });
gulp.task('default', ['browser'], function() { nodemon({ script: 'app.js', env: { 'NODE_ENV': 'development' }, ignore : [ "app/**" ] }) })
gulp.task('develop', function () { nodemon({ exec: 'node --debug', script: 'server.js', ext: 'html js', tasks: ['lint'], env: {'NODE_ENV': 'development'} }); });