Skip to content

Commit

Permalink
fix: remove superfluous importBuild await (#1404)
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jan 5, 2024
1 parent 1c30579 commit 7fdfa41
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vike/node/runtime/globalContext/loadImportBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ function setImportBuildGetters(getters: BuildGetters) {
async function loadImportBuild(outDir?: string) {
if (!buildGetters.getters) {
await loadServerBuild(outDir)
// https://github.com/vikejs/vike/commit/178a69765f5e8f8e7ba2a76b5e7e0e193be08c87
await autoRetry(() => {
assert(buildGetters.getters)
}, 2000)
assert(buildGetters.getters)
}

Expand Down

0 comments on commit 7fdfa41

Please sign in to comment.