We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8f15f4 commit 91d84b1Copy full SHA for 91d84b1
packages/plugin-dts/src/index.ts
@@ -167,7 +167,11 @@ export const pluginDts = (options: PluginDtsOptions = {}): RsbuildPlugin => ({
167
const killProcesses = () => {
168
for (const childProcess of childProcesses) {
169
if (!childProcess.killed) {
170
- childProcess.kill();
+ try {
171
+ childProcess.kill();
172
+ // mute kill error, such as: kill EPERM error on windows
173
+ // https://github.com/nodejs/node/issues/51766
174
+ } catch (_err) {}
175
}
176
177
childProcesses = [];
0 commit comments