Harmonize with web version, better style, fix for Firefox 45.9.0 ESR
[qomet.git] / gulpfile.js
CommitLineData
e99c53fb
BA
1var gulp = require('gulp');
2var nodemon = require('gulp-nodemon'); //reload server on changes
3
4var nodemonOptions = {
5 script: 'bin/www',
6 ext: 'js',
7 env: { 'NODE_ENV': 'development' },
8 verbose: true,
9 watch: ['./','config','utils','routes','models','entities']
10};
11
12// TODO: tasks for uglify / sass / use webpack
13
14gulp.task('server', function () {
15 nodemon(nodemonOptions)
16 .on('restart', function () {
17 console.log('restarted!')
18 });
19});