2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-11 15:51:06 +00:00
nativefier/gulp/watch.js
2018-05-23 23:44:03 -07:00

14 lines
358 B
JavaScript

import gulp from 'gulp';
import PATHS from './helpers/src-paths';
const log = require('loglevel');
gulp.task('watch', ['build'], () => {
const handleError = function watch(error) {
log.error(error);
};
gulp.watch(PATHS.APP_ALL, ['build-app']).on('error', handleError);
gulp.watch(PATHS.CLI_SRC_JS, ['build-cli']).on('error', handleError);
});