Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tgriesser committed Dec 15, 2021
1 parent 77527cb commit 2b7c02c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/server/lib/modes/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -1681,6 +1681,9 @@ module.exports = {
await app.whenReady()
}

return loading.then(() => this.ready(options))
return loading.then(() => this.ready(options)).catch((e) => {
this.exitEarly(e)
this.ready(options)
})
},
}
2 changes: 1 addition & 1 deletion packages/server/lib/plugins/dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const API = {
throw errors.get('CT_NO_DEV_START_EVENT', config.pluginsFile)
}

plugins.execute('dev-server:start', { specs, config })
return plugins.execute('dev-server:start', { specs, config })
},

updateSpecs (specs) {
Expand Down
2 changes: 1 addition & 1 deletion packages/server/test/performance/proxy_performance_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ describe('Proxy Performance', function () {
https: { cert, key },
}).start(HTTPS_PROXY_PORT),

Config.set({
Config.setupFullConfigWithDefaults({
projectRoot: '/tmp/a',
}).then((config) => {
config.port = CY_PROXY_PORT
Expand Down

0 comments on commit 2b7c02c

Please sign in to comment.