File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ builds.forEach(async (build) => {
3939 console . log ( `Watching ${ build . entryPoints } (${ build . format } )…` )
4040 await context . watch ( )
4141 } else {
42- console . log ( `Built ${ build . entryPoints } ( ${ build . format } )…` )
42+ await context . rebuild ( )
4343 context . dispose ( )
44+ console . log ( `Built ${ build . entryPoints } (${ build . format } )…` )
4445 }
4546} )
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ builds.forEach(async (build) => {
3939 console . log ( `Watching ${ build . entryPoints } (${ build . format } )…` )
4040 await context . watch ( )
4141 } else {
42- console . log ( `Built ${ build . entryPoints } ( ${ build . format } )…` )
42+ await context . rebuild ( )
4343 context . dispose ( )
44+ console . log ( `Built ${ build . entryPoints } (${ build . format } )…` )
4445 }
4546} )
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ builds.forEach(async (build) => {
3939 console . log ( `Watching ${ build . entryPoints } (${ build . format } )…` )
4040 await context . watch ( )
4141 } else {
42- console . log ( `Built ${ build . entryPoints } ( ${ build . format } )…` )
42+ await context . rebuild ( )
4343 context . dispose ( )
44+ console . log ( `Built ${ build . entryPoints } (${ build . format } )…` )
4445 }
4546} )
You can’t perform that action at this time.
0 commit comments