Skip to content

Commit

Permalink
feat: recomment use concurrently
Browse files Browse the repository at this point in the history
  • Loading branch information
HomyeeKing authored and lencx committed Dec 8, 2022
1 parent a940aa2 commit a108244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ export default defineConfig({
### Step 3

Edit package.json

> recommend to use `concurrently` instead of `&` to run command concurrently, because it can't handle system signal properly, see https://github.com/rwasm/rsw-rs/issues/7
```json5
"scripts": {
+ "dev": "rsw watch & vite",
+ "dev": "concurrently \"rsw watch\" \"vite\"",
+ "build": "rsw build && tsc && vite build",
+ "rsw": "rsw"
}
Expand Down

0 comments on commit a108244

Please sign in to comment.