Skip to content

Commit 92a1b67

Browse files
committed
Prevent js build recursion during the watch command
1 parent 5265eb0 commit 92a1b67

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ module.exports = function() {
3434
};
3535

3636
project.files = {
37-
js: project.paths.jsSrc + '**/*.js',
37+
js: [
38+
project.paths.jsSrc + '**/*.js',
39+
'!' + project.paths.jsSrc + '**/*.min.js',
40+
'!' + project.paths.jsSrc + 'vendor/'
41+
],
3842
scss: project.paths.cssSrc + '**/*.scss',
3943
config: project.paths.config + '**/*.js',
4044
php: [

0 commit comments

Comments
 (0)