X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=server%2Fgulpfile.js;h=9b24ae8b228e96ff0cc2dafdb8beeff83b960b10;hp=ae739d9619c05d2682dcc5cce904d4190239f805;hb=7a0c1b7e33a346195caebfdfa6489e7c6d0457e6;hpb=625022fdcf750f0aff8fcd699f7e9b89730e1d10 diff --git a/server/gulpfile.js b/server/gulpfile.js index ae739d96..9b24ae8b 100644 --- a/server/gulpfile.js +++ b/server/gulpfile.js @@ -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!') + }); });