2015-09-08 20:45:09 +00:00
|
|
|
import gulp from 'gulp';
|
|
|
|
|
import nodemon from 'gulp-nodemon';
|
|
|
|
|
|
2019-10-08 14:57:10 +00:00
|
|
|
const pkg = require('../package.json');
|
2015-09-08 20:45:09 +00:00
|
|
|
|
2019-10-08 14:57:10 +00:00
|
|
|
gulp.task('nodemon', done => {
|
2015-09-08 20:45:09 +00:00
|
|
|
nodemon({
|
|
|
|
|
script: pkg.main,
|
2015-10-20 17:39:04 +00:00
|
|
|
ignore: [
|
2016-09-14 13:06:32 +00:00
|
|
|
'website/client-old/*',
|
2015-10-20 17:39:04 +00:00
|
|
|
'website/views/*',
|
|
|
|
|
'common/dist/script/content/*',
|
2016-09-18 19:51:20 +00:00
|
|
|
],
|
2015-09-08 20:45:09 +00:00
|
|
|
});
|
2018-02-04 17:18:10 +00:00
|
|
|
done();
|
2015-09-08 20:45:09 +00:00
|
|
|
});
|