From 712e539266fbc211a0229f0db52e0dd3c9137d8b Mon Sep 17 00:00:00 2001 From: gavin1995 Date: Thu, 12 Oct 2023 09:06:26 +0800 Subject: [PATCH] fix: No response after running ([electron-vite#180](https://github.com/electron-vite/electron-vite-react/issues/180)) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 14250d6..2774bb7 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ } }, "scripts": { - "dev": "tailwindcss --watch && vite", + "dev": "concurrently \"tailwindcss --watch\" \"vite\"", "build": "tailwindcss && tsc && vite build && electron-builder", "preview": "vite preview", "pree2e": "vite build --mode=test", @@ -27,6 +27,7 @@ "@types/react-dom": "^18.2.7", "@vitejs/plugin-react": "^4.0.4", "autoprefixer": "^10.4.16", + "concurrently": "^8.2.1", "electron": "^26.0.0", "electron-builder": "^24.6.3", "react": "^18.2.0",