'update'
[vchess.git] / server / gulpfile.js
index ae739d9..9b24ae8 100644 (file)
@@ -1,17 +1,17 @@
-var gulp = require('gulp');
-var nodemon = require('gulp-nodemon'); //reload server on changes
+const gulp = require('gulp');
+const nodemon = require('gulp-nodemon'); //reload server on changes
 
-var nodemonOptions = {
-       script: 'bin/www',
-       ext: 'js',
-       env: { 'NODE_ENV': 'development' },
-       verbose: true,
-       watch: ['./','routes','bin']
+const nodemonOptions = {
+  script: 'bin/www',
+  ext: 'js',
+  env: { 'NODE_ENV': 'development' },
+  verbose: true,
+  watch: ['./','routes','bin']
 };
 
 gulp.task('start', function () {
-       nodemon(nodemonOptions)
-       .on('restart', function () {
-               console.log('restarted!')
-       });
+  nodemon(nodemonOptions)
+  .on('restart', function () {
+    console.log('restarted!')
+  });
 });