We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eac5802 commit 017179eCopy full SHA for 017179e
programs/develop/webpack/plugin-compilation/clean-hot-updates.ts
@@ -7,7 +7,7 @@ export class CleanHotUpdatesPlugin {
7
const hotUpdatePath = path.join(compiler.options.output.path || '', 'hot')
8
9
if (fs.existsSync(hotUpdatePath)) {
10
- fs.rmSync(hotUpdatePath, {recursive: true, force: true})
+ fs.rmdirSync(hotUpdatePath, {recursive: true})
11
if (process.env.EXTENSION_ENV === 'development') {
12
console.log(
13
'[CleanHotUpdatesPlugin] Removed old hot-update files before compilation.'
0 commit comments