Skip to content

Commit a5dbed3

Browse files
committed
Don't shut down the server in dev mode
1 parent dca3c4f commit a5dbed3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ if (!amMainInstance) {
149149

150150
let serverKilled = false;
151151
app.on('will-quit', async (event) => {
152-
if (server && !serverKilled) {
152+
if (server && !serverKilled && !DEV_MODE) {
153153
// Don't shutdown until we've tried to kill the server
154154
event.preventDefault();
155155

0 commit comments

Comments
 (0)