Don't always try to kill SvelteKit process after dev server (#22)
This commit is contained in:
parent
0b00756a8e
commit
98aa66f9d8
@ -9,6 +9,8 @@ pnpm install # Install dependencies
|
||||
pnpm dev # Start dev server
|
||||
```
|
||||
|
||||
> If after quitting the dev process, you find that the SvelteKit process is still running (or preventing you from restarting the dev command), run `pnpm kill:dev`
|
||||
|
||||
## Building
|
||||
|
||||
```bash
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
{
|
||||
"scripts": {
|
||||
"dev": "tauri dev; pnpm kill-port 3000",
|
||||
"dev": "tauri dev",
|
||||
"dev:web": "svelte-kit dev",
|
||||
"kill:web": "kill-port 3000",
|
||||
"tauri": "tauri",
|
||||
"build": "tauri build",
|
||||
"build:web": "svelte-kit build",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user