File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/runtime/src/helpers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ export const watchForMiddlewareChanges = (base: string) => {
110
110
watcher,
111
111
isReady : new Promise < void > ( ( resolve ) => {
112
112
watcher . on ( 'ready' , async ( ) => {
113
- console . log ( 'Initial scan for middleware file complete. Ready for changes' )
113
+ console . log ( 'Initial scan for middleware file complete. Ready for changes. ' )
114
114
// This only happens on the first scan
115
115
await updateWatchedFiles ( watcher , base , true )
116
116
console . log ( 'Ready' )
Original file line number Diff line number Diff line change @@ -2024,7 +2024,7 @@ describe('the dev middleware watcher', () => {
2024
2024
watchers . push ( watcher )
2025
2025
await isReady
2026
2026
expect ( middlewareExists ( ) ) . toBeFalsy ( )
2027
- expect ( consoleLogSpy ) . toHaveBeenCalledWith ( 'Initial scan complete. Ready for changes' )
2027
+ expect ( consoleLogSpy ) . toHaveBeenCalledWith ( 'Initial scan for middleware file complete. Ready for changes. ' )
2028
2028
consoleLogSpy . mockClear ( )
2029
2029
let isBuilt = nextBuild ( )
2030
2030
await writeFile ( path . join ( process . cwd ( ) , 'middleware.ts' ) , middlewareSourceTs )
You can’t perform that action at this time.
0 commit comments