Skip to content

Commit

Permalink
chore: fix run-dev script
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenQingchuan committed Oct 11, 2023
1 parent 9071d94 commit 8de7f1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/rollup/plugins.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function runTscOnFinished(cwd) {
return {
name: 'runTscOnFinished',
buildEnd() {
execSync('tsc', { stdio: 'inherit', shell: true, cwd })
execSync('tsc', { stdio: 'inherit', cwd })
},
}
}
2 changes: 1 addition & 1 deletion scripts/run-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const devCommand = 'cross-env NODE_ENV=development pnpm concurrently '
+ '-n "COMPILER,VITE,MAIN" '
+ '-c "bgGreen.bold,bgBlue.bold,bgMagenta.bold" '
+ '"rollup -w -c ./packages/compiler/rollup.config.mjs" '
+ '"sleep 6 && rollup -w -c ./packages/vite-plugin/rollup.config.mjs" '
+ '"sleep 6 && npx rollup -w -c ./packages/vite-plugin/rollup.config.mjs" '
+ '"sleep 12 && rimraf ./packages/vue-vine/dist && rollup -w -c ./packages/vue-vine/rollup.config.mjs"'

cliExec(devCommand)

0 comments on commit 8de7f1e

Please sign in to comment.