Skip to content

Commit

Permalink
replace gulp-watch by gulp.watch (#11175)
Browse files Browse the repository at this point in the history
* chore: remove gulp-watch

* chore: update lock file
  • Loading branch information
JLHwung committed Feb 26, 2020
1 parent 0018881 commit e9ea523
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 288 deletions.
7 changes: 1 addition & 6 deletions Gulpfile.js
Expand Up @@ -5,7 +5,6 @@ const through = require("through2");
const chalk = require("chalk");
const newer = require("gulp-newer");
const babel = require("gulp-babel");
const gulpWatch = require("gulp-watch");
const fancyLog = require("fancy-log");
const filter = require("gulp-filter");
const gulp = require("gulp");
Expand Down Expand Up @@ -239,10 +238,6 @@ gulp.task("build-no-bundle", () => buildBabel());
gulp.task(
"watch",
gulp.series("build-no-bundle", function watch() {
gulpWatch(
defaultSourcesGlob,
{ debounceDelay: 200 },
gulp.task("build-no-bundle")
);
gulp.watch(defaultSourcesGlob, gulp.task("build-no-bundle"));
})
);
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -53,7 +53,6 @@
"gulp-newer": "^1.0.0",
"gulp-plumber": "^1.2.1",
"gulp-rename": "^1.4.0",
"gulp-watch": "^5.0.1",
"husky": "^3.0.0",
"jest": "^24.9.0",
"lerna": "^3.19.0",
Expand Down

0 comments on commit e9ea523

Please sign in to comment.