Skip to content

Commit 5ea1c05

Browse files
committed
feat: destroy browser in dev
1 parent ea75777 commit 5ea1c05

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/cli.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,7 @@ const cmd = command({
278278
}
279279
}
280280
} finally {
281-
if (process.env.NODE_ENV !== 'development') {
282-
await shelf.destroy();
283-
}
281+
await shelf.destroy();
284282
}
285283
} catch (e) {
286284
console.log(`Error: ${e instanceof Error ? e.message : e}`);

0 commit comments

Comments
 (0)