2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-16 10:05:09 +00:00
nativefier/gulp/watch.js

17 lines
426 B
JavaScript
Raw Normal View History

2016-02-27 16:45:44 +00:00
import gulp from 'gulp';
import PATHS from './helpers/src-paths';
gulp.task('watch', ['build'], () => {
const handleError = function (error) {
console.error(error);
};
gulp.watch(PATHS.APP_ALL, ['build-app'])
2016-02-27 16:45:44 +00:00
.on('error', handleError);
gulp.watch(PATHS.CLI_SRC_JS, ['build-cli'])
2016-02-27 16:45:44 +00:00
.on('error', handleError);
gulp.watch(PATHS.TEST_SRC_JS, ['build-tests'])
2016-02-27 16:45:44 +00:00
.on('error', handleError);
});