Don't always try to kill SvelteKit process after dev server (#22)

This commit is contained in:
venashial 2022-03-07 21:46:56 -08:00 committed by GitHub
parent 0b00756a8e
commit 98aa66f9d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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",