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