Remove watch task

pull/4/head
Cory LaViska 2017-07-25 21:05:35 -04:00
rodzic ee5b5232fb
commit 55dfc910a4
3 zmienionych plików z 2 dodań i 1228 usunięć

Wyświetl plik

@ -6,7 +6,6 @@ const CleanCSS = require('gulp-clean-css');
const Del = require('del');
const Path = require('path');
const Rename = require('gulp-rename');
const Watch = require('gulp-watch');
////////////////////////////////////////////////////////////////////////////////////////////////////
// Config
@ -67,19 +66,5 @@ Gulp.task('clean', 'Delete all generated files.', [
'clean:styles'
]);
////////////////////////////////////////////////////////////////////////////////////////////////////
// Other tasks
////////////////////////////////////////////////////////////////////////////////////////////////////
// Watch for changes
Gulp.task('watch', 'Watch files and automatically build assets on change.', () => {
// Watch styles
Gulp.src(styles.source)
.pipe(Watch(styles.source))
.on('change', () => {
buildStyles(styles.source, styles.target);
});
});
// Default
Gulp.task('default', 'Run the default task.', ['help']);

1210
package-lock.json wygenerowano

Plik diff jest za duży Load Diff

Wyświetl plik

@ -12,10 +12,9 @@
"devDependencies": {
"chalk": "^1.1.3",
"del": "^2.2.1",
"gulp": "^3.9.1",
"gulp-clean-css": "^3.0.3",
"gulp-help": "^1.6.1",
"gulp-rename": "^1.2.2",
"gulp-watch": "^4.3.9",
"gulp": "^3.9.1"
"gulp-rename": "^1.2.2"
}
}