Merge pull request #148 from olaservo/add-note-for-dev-mode-on-windows
Add note for dev mode on windows
This commit is contained in:
@@ -48,6 +48,13 @@ Development mode:
|
|||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Note for Windows users:**
|
||||||
|
> On Windows, use the following command instead:
|
||||||
|
>
|
||||||
|
> ```bash
|
||||||
|
> npm run dev:windows
|
||||||
|
> ```
|
||||||
|
|
||||||
Production mode:
|
Production mode:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev\"",
|
"dev": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev\"",
|
||||||
|
"dev:windows": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev:windows",
|
||||||
"build-server": "cd server && npm run build",
|
"build-server": "cd server && npm run build",
|
||||||
"build-client": "cd client && npm run build",
|
"build-client": "cd client && npm run build",
|
||||||
"build": "npm run build-server && npm run build-client",
|
"build": "npm run build-server && npm run build-client",
|
||||||
|
|||||||
@@ -16,7 +16,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"start": "node build/index.js",
|
"start": "node build/index.js",
|
||||||
"dev": "tsx watch --clear-screen=false src/index.ts"
|
"dev": "tsx watch --clear-screen=false src/index.ts",
|
||||||
|
"dev:windows": "tsx watch --clear-screen=false src/index.ts < NUL"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/cors": "^2.8.17",
|
"@types/cors": "^2.8.17",
|
||||||
|
|||||||
Reference in New Issue
Block a user