Skip to content

Commit 4cbdc5a

Browse files
authored
! Fix dev restart not killing old process in macOS (#9380)
1 parent 869223e commit 4cbdc5a

3 files changed

Lines changed: 27 additions & 12 deletions

File tree

_scripts/dev-runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ process.env.NODE_ENV = 'development'
33
const electron = require('electron')
44
const webpack = require('webpack')
55
const WebpackDevServer = require('webpack-dev-server')
6-
const kill = require('tree-kill')
6+
const kill = require('@magda/tree-kill')
77

88
const path = require('path')
99
const { spawn } = require('child_process')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"stylelint-config-standard": "^40.0.0",
112112
"stylelint-high-performance-animation": "^2.0.0",
113113
"stylelint-use-logical-spec": "^5.0.1",
114-
"tree-kill": "1.2.2",
114+
"@magda/tree-kill": "1.2.3",
115115
"vue-eslint-parser": "^10.4.1",
116116
"vue-loader": "^17.4.2",
117117
"webpack": "^5.108.4",

pnpm-lock.yaml

Lines changed: 25 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)