File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -312,14 +312,20 @@ export default defineNuxtModule<ModuleOptions>({
312
312
const matches = input . match ( pattern )
313
313
return matches || [ ]
314
314
}
315
+ const excluded_logs = [
316
+ 'EdgeDB Watch initialized.' ,
317
+ `Monitoring "${ resolveProject ( ) } ".` ,
318
+ ]
315
319
316
320
edb_watch_process . stderr ! . on ( 'data' , async ( chunk : string ) => {
317
321
const content = chunk . toString ( )
318
322
const ddls = extractDDLs ( content )
319
323
if ( ddls . length ) {
320
324
await generateInterfaces ( )
321
325
await generateQueryBuilder ( )
322
- success ( `Schema changes detected - interface & query builder updated` )
326
+ success ( `EdgeDB - schema changes detected` )
327
+ } else if ( ! excluded_logs . some ( e => content . includes ( e ) ) ) {
328
+ console . log ( content )
323
329
}
324
330
} )
325
331
success ( 'Running \'edgedb watch\' mode in the background.' , true )
You can’t perform that action at this time.
0 commit comments