Skip to content

Commit

Permalink
fix(assetsbundler): fix webpack dev server not beeing killed by CTRL+…
Browse files Browse the repository at this point in the history
…C in Windows

Killing server with CTRL-C in dev mode in Windows leaves webpack-dev-server running on port 8080 and
never releases it

fix adonisjs/core#2562
  • Loading branch information
McSneaky committed May 6, 2021
1 parent 7452f8e commit 62b2058
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AssetsBundler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class AssetsBundler extends Emittery {
stdio: 'pipe' as const,
localDir: this.projectRoot,
cwd: this.projectRoot,
windowsHide: false,
env: {
FORCE_COLOR: 'true',
...this.env,
Expand Down

0 comments on commit 62b2058

Please sign in to comment.