Some Chakart fixes/adjustments
[vchess.git] / server / gulpfile.js
... / ...
CommitLineData
1const gulp = require('gulp');
2const nodemon = require('gulp-nodemon'); //reload server on changes
3
4const nodemonOptions = {
5 script: 'bin/www',
6 ext: 'js',
7 env: { 'NODE_ENV': 'development' },
8 verbose: true,
9 watch: ['./','routes','bin']
10};
11
12gulp.task('start', function () {
13 nodemon(nodemonOptions)
14 .on('restart', function () {
15 console.log('restarted!')
16 });
17});