File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/webflo-runtime/webflo-server Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ export class WebfloServer extends AppRuntime {
138138 if ( revalidate
139139 || ! this . #buildContexts[ realm ] ) {
140140 await this . #buildContexts[ realm ] ?. dispose ( ) ;
141+ console . info ( 'Building routes...' ) ;
141142
142143 const entryPoints = await $glob ( `${ routeDirs [ realm ] } /**/handler{,.${ realm } }.js` , { absolute : true } )
143144 . then ( ( files ) => files . map ( ( f ) => f . replace ( / \\ / g, '/' ) ) ) ;
@@ -172,7 +173,10 @@ export class WebfloServer extends AppRuntime {
172173 let buildResult ;
173174 try {
174175 buildResult = await this . #buildContexts[ realm ] . rebuild ( ) ;
175- } catch ( e ) { continue ; }
176+ } catch ( e ) {
177+ console . error ( e ) ;
178+ continue ;
179+ }
176180
177181 moduleGraph = { ...moduleGraph , ...buildResult . metafile . inputs } ;
178182 this . #buildOutputs[ realm ] = Object . fromEntries ( buildResult . outputFiles ?. map ( ( f ) => {
You can’t perform that action at this time.
0 commit comments