Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit 3c01ef6

Browse files
fabiomcostafacebook-github-bot
authored andcommitted
Fix npm run dev (#2030)
Summary: **Summary** Fixes the `npm run dev` command, which currently fails when run. **Test Plan** `npm run dev` `yarn run dev` Pull Request resolved: #2030 Differential Revision: D14406346 fbshipit-source-id: 9a689d4ef3097a2728f5603d20097b98b6c3a8df
1 parent fc3549a commit 3c01ef6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

gulpfile.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ gulp.task(
245245

246246
gulp.task(
247247
'website:static',
248-
gulp.series('dist:min', 'css',
248+
gulp.series(
249+
'dist:min',
250+
'css',
249251
gulp.parallel(function() {
250252
return gulp
251253
.src(paths.dist + '/Draft.min.js')
@@ -256,7 +258,7 @@ gulp.task(
256258
.src(paths.dist + '/Draft.css')
257259
.pipe(gulp.dest(paths.static + '/css'));
258260
}),
259-
)
261+
),
260262
);
261263

262264
gulp.task(
@@ -269,14 +271,14 @@ gulp.task(
269271
gulp.task(
270272
'watch',
271273
gulp.series(function() {
272-
gulp.watch(paths.src, ['modules']);
274+
gulp.watch(paths.src, gulp.parallel('modules'));
273275
}),
274276
);
275277

276278
gulp.task(
277279
'dev',
278280
gulp.series(function() {
279-
gulp.watch(paths.src, ['modules', 'dist']);
281+
gulp.watch(paths.src, gulp.parallel('dist'));
280282
}),
281283
);
282284

0 commit comments

Comments
 (0)