File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import prettyHrtime from 'pretty-hrtime'
77import { text } from 'stream/consumers'
88import read from 'read-cache'
99import pc from 'picocolors'
10- import { glob } from 'tinyglobby'
10+ import { glob , globSync } from 'tinyglobby'
1111import slash from 'slash'
1212import chokidar from 'chokidar'
1313
@@ -308,11 +308,11 @@ function dependencies(results) {
308308 . map ( depGraph . add )
309309 . forEach ( ( dependency ) => {
310310 if ( dependency . type === 'dir-dependency' ) {
311- messages . push (
312- dependency . glob
313- ? path . join ( dependency . dir , dependency . glob )
314- : dependency . dir ,
315- )
311+ if ( dependency . glob ) {
312+ messages . push ( ... globSync ( path . join ( dependency . dir , dependency . glob ) , { dot : argv . includeDotfiles } ) )
313+ } else {
314+ messages . push ( dependency . dir )
315+ }
316316 } else {
317317 messages . push ( dependency . file )
318318 }
You can’t perform that action at this time.
0 commit comments