Skip to content

Commit

Permalink
Delete previously compiled JS files before building
Browse files Browse the repository at this point in the history
  • Loading branch information
ttbowen committed Nov 21, 2023
1 parent 134553b commit 3a796ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mrwhale-discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"scripts": {
"dev": "ts-node --transpile-only index.ts",
"start": "tsc && copyfiles ./images/*.png ./lib && node ./lib/index.js",
"start": "rm -rf ./lib && tsc && copyfiles ./images/*.png ./lib && node ./lib/index.js",
"deploy-commands": "ts-node --transpile-only scripts/deploy-commands.ts"
},
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mrwhale-gamejolt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"scripts": {
"dev": "ts-node --transpile-only index.ts",
"start": "tsc && copyfiles ./images/*.png ./lib && node ./lib/index.js"
"start": "rm -rf ./lib && tsc && copyfiles ./images/*.png ./lib && node ./lib/index.js"
},
"bugs": {
"url": "https://github.com/mrwhale-io/mrwhale/issues"
Expand Down

0 comments on commit 3a796ad

Please sign in to comment.