1 var gulp
= require('gulp');
2 var nodemon
= require('gulp-nodemon'); //reload server on changes
7 env: { 'NODE_ENV': 'development' },
9 watch: ['./','config','utils','routes','models','entities']
12 gulp
.task('server', function () {
13 nodemon(nodemonOptions
)
14 .on('restart', function () {
15 console
.log('restarted!')