Skip to content

Commit ba076bf

Browse files
committed
fix(overmind): clear dist on build
1 parent 7f6f4ab commit ba076bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/node_modules/overmind-devtools-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"compile": "tsc -p ./",
4646
"watch": "tsc -watch -p ./",
4747
"postinstall": "node ./node_modules/vscode/bin/install",
48-
"build": "cp -R ../overmind-devtools-client/dist devtoolsDist"
48+
"build": "rimraf devtoolsDist && cp -R ../overmind-devtools-client/dist devtoolsDist"
4949
},
5050
"devDependencies": {
5151
"@types/node": "^10.12.21",

packages/node_modules/overmind-devtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"scripts": {
1212
"start": "electron ./src/main",
13-
"build": "cp -R ../overmind-devtools-client/dist devtoolsDist"
13+
"build": "rimraf devtoolsDist && cp -R ../overmind-devtools-client/dist devtoolsDist"
1414
},
1515
"keywords": [
1616
"overmind",

0 commit comments

Comments
 (0)