File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -161,14 +161,10 @@ export class HotHookLoader {
161161 if ( file === this . #projectRoot) return false
162162 if ( ! stats ) return false
163163
164- if ( this . #pathIgnoredMatcher. match ( file ) ) {
165- console . log ( 'PM File %s is ignored' , file )
166- return true
167- }
164+ if ( this . #pathIgnoredMatcher. match ( file ) ) return true
168165 if ( this . #reloadMatcher. match ( file ) ) return false
169166
170167 if ( stats . isDirectory ( ) ) return false
171- console . log ( 'File %s is ignored' , file , ! this . #pathIncludedMatcher. match ( file ) )
172168
173169 return ! this . #pathIncludedMatcher. match ( file )
174170 } ,
@@ -241,7 +237,6 @@ export class HotHookLoader {
241237 * - And adding files to the watcher
242238 */
243239 resolve : ResolveHook = async ( specifier , context , nextResolve ) => {
244- console . log ( 'Resolving specifier:' , specifier , 'with context:' , context )
245240 const parentUrl = ( context . parentURL && new URL ( context . parentURL ) ) as URL
246241 if ( parentUrl ?. searchParams . has ( 'hot-hook' ) ) {
247242 parentUrl . searchParams . delete ( 'hot-hook' )
You can’t perform that action at this time.
0 commit comments