Skip to content

Commit a80ac1c

Browse files
committed
Add .vue file tracking
See bitrix-tools#13 Fix bitrix-tools#13
1 parent 2ebf66b commit a80ac1c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/tools/watch.js

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function createPattern(directories) {
2121
acc.push(slash(path.resolve(currentConfig.context, '**/*.js')));
2222
acc.push(slash(path.resolve(currentConfig.context, '**/*.css')));
2323
acc.push(slash(path.resolve(currentConfig.context, '**/*.scss')));
24+
acc.push(slash(path.resolve(currentConfig.context, '**/*.vue')));
2425
});
2526

2627
return acc;

src/utils/is-allowed.js

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default function isAllowed(fileName) {
2323
switch (ext) {
2424
case '.js':
2525
case '.jsx':
26+
case '.vue':
2627
case '.css':
2728
case '.scss':
2829
return true;

0 commit comments

Comments
 (0)