Skip to content

Commit 48ef25f

Browse files
committed
Fix Gulp
1 parent 7e1faf8 commit 48ef25f

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

gulp/files.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
{
2-
"CHECK": [
3-
"{index,register,gulpfile}.js",
4-
"{src,gulp,test}/*.js",
5-
"{src,gulp,test}/**/*.js",
2+
"CHECK": ["{index,register,gulpfile}.js", "{src,gulp,test}/**/*.js", "*.md"],
3+
"UNIT": ["build"],
4+
"TEST": [
5+
"{index,register,gulpfile,.babelrc}.js",
6+
"src",
7+
"gulp",
8+
"test",
69
"*.md"
710
],
8-
"UNIT": ["{index,register}.js", "src", "test"],
9-
"TEST": ["{index,register,gulpfile}.js", "src", "gulp", "test", "*.md"],
11+
"BUILD": ["{index,register,gulpfile,.babelrc}.js", "src"],
1012
"BUILD_SRC": ["src"],
1113
"BUILD_DIST": ["dist"],
12-
"DEV": ["{index,register,gulpfile}.js", "src", "gulp", "test", "*.md"]
14+
"DEV": [
15+
"{index,register,gulpfile,.babelrc}.js",
16+
"src",
17+
"gulp",
18+
"test",
19+
"*.md"
20+
]
1321
}

gulp/tasks/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const build = series(babel, pack)
1818
// eslint-disable-next-line fp/no-mutation
1919
build.description = 'Build source files'
2020

21-
const buildwatch = getWatchTask({ BUILD_SRC: build }, build)
21+
const buildwatch = getWatchTask({ BUILD: build }, build)
2222

2323
// eslint-disable-next-line fp/no-mutation
2424
buildwatch.description = 'Build source files in watch mode'

0 commit comments

Comments
 (0)