Skip to content

Commit

Permalink
更新依赖&版本号(2.10.0-beta.10)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Dec 21, 2024
1 parent b7434e9 commit c7facb3
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 297 deletions.
1 change: 0 additions & 1 deletion .ncurc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = {
'eslint',
'@types/node',
'electron-debug',
'webpack-dev-server',
// 'eslint-config-standard-with-typescript',
'typescript', // https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/#typedarrays-are-now-generic-over-arraybufferlike
],
Expand Down
8 changes: 6 additions & 2 deletions build-config/runner-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ function startRenderer() {
},
setupMiddlewares(middlewares, devServer) {
devServer.app.use(hotMiddlewareRenderer)
devServer.middleware.waitUntilValid(resolve)
setImmediate(() => {
devServer.middleware.waitUntilValid(resolve)
})

return middlewares
},
Expand Down Expand Up @@ -107,7 +109,9 @@ function startRendererLyric() {
},
setupMiddlewares(middlewares, devServer) {
devServer.app.use(hotMiddlewareRenderer)
devServer.middleware.waitUntilValid(resolve)
setImmediate(() => {
devServer.middleware.waitUntilValid(resolve)
})
return middlewares
},
}, compiler)
Expand Down
Loading

0 comments on commit c7facb3

Please sign in to comment.