Update build step
This commit is contained in:
@@ -25,7 +25,7 @@ export default async function fullRebuild(params?: { msg?: string }) {
|
||||
|
||||
// await pagesSSRBundler();
|
||||
|
||||
allPagesESBuildContextBundler({
|
||||
await allPagesESBuildContextBundler({
|
||||
post_build_fn: () => {
|
||||
serverPostBuildFn();
|
||||
},
|
||||
|
||||
@@ -29,6 +29,7 @@ export default async function watcherEsbuildCTX() {
|
||||
|
||||
if (global.BUNDLER_CTX_DISPOSED) {
|
||||
await fullRebuild({ msg: `Restarting Bundler ...` });
|
||||
return;
|
||||
}
|
||||
|
||||
if (global.SSR_BUNDLER_CTX_DISPOSED) {
|
||||
|
||||
Reference in New Issue
Block a user