File tree Expand file tree Collapse file tree 1 file changed +16
-12
lines changed
Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -531,20 +531,24 @@ export async function startServer(options: {
531531 await setupFileStructure ( )
532532
533533 if ( options . hmr ) {
534- void setupHotListener ( "contracts" , ( ) => {
535- log (
536- LogLevel . INFO ,
537- "Detected a change in contracts! Re-indexing..." ,
538- )
539- // eslint-disable-next-line promise/catch-or-return
540- controller . index ( ) . then ( ( ) => {
541- return log (
534+ void setupHotListener (
535+ "contracts" ,
536+ ( ) => {
537+ log (
542538 LogLevel . INFO ,
543- "Completed re-indexing." ,
544- "contracts" ,
539+ "Detected a change in contracts! Re-indexing..." ,
545540 )
546- } )
547- } , true )
541+ // eslint-disable-next-line promise/catch-or-return
542+ controller . index ( ) . then ( ( ) => {
543+ return log (
544+ LogLevel . INFO ,
545+ "Completed re-indexing." ,
546+ "contracts" ,
547+ )
548+ } )
549+ } ,
550+ true ,
551+ )
548552 }
549553
550554 // once contracts directory is present, we are clear to boot
You can’t perform that action at this time.
0 commit comments