diff options
-rw-r--r-- | CONTRIBUTING.md | 11 | ||||
-rw-r--r-- | package.json | 3 |
2 files changed, 4 insertions, 10 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5e108519f..d604df7cb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md | |||
@@ -186,17 +186,10 @@ codesign --deep --force --verbose --sign - node_modules/electron/dist/Electron.a | |||
186 | 186 | ||
187 | ### Start development app | 187 | ### Start development app |
188 | 188 | ||
189 | Run these two commands **simultaneously** in different terminals: | 189 | Run this command on the terminal: |
190 | 190 | ||
191 | ```bash | 191 | ```bash |
192 | npm run dev | 192 | npm run debug |
193 | DEBUG=Ferdium:* npm run start | ||
194 | ``` | ||
195 | |||
196 | - Optionally, you can run both commands in one terminal with [concurrently](https://www.npmjs.com/package/concurrently): | ||
197 | |||
198 | ```bash | ||
199 | DEBUG_COLORS=1 DEBUG=Ferdium:* npm run start:all-dev | ||
200 | ``` | 193 | ``` |
201 | 194 | ||
202 | Note: please prefer [`debug()`](https://github.com/visionmedia/debug) over `console.log()`. | 195 | Note: please prefer [`debug()`](https://github.com/visionmedia/debug) over `console.log()`. |
diff --git a/package.json b/package.json index 7ce453d77..a34d43906 100644 --- a/package.json +++ b/package.json | |||
@@ -39,7 +39,8 @@ | |||
39 | "link-readme": "ts-node scripts/link-readme.ts", | 39 | "link-readme": "ts-node scripts/link-readme.ts", |
40 | "minify-images": "./scripts/minify-images.sh", | 40 | "minify-images": "./scripts/minify-images.sh", |
41 | "start:server": "ts-node src/internal-server/test.ts", | 41 | "start:server": "ts-node src/internal-server/test.ts", |
42 | "add-crowdin-contributors": "ts-node scripts/add-crowdin-contributors.ts" | 42 | "add-crowdin-contributors": "ts-node scripts/add-crowdin-contributors.ts", |
43 | "debug": "cross-env-shell DEBUG_COLORS=1 DEBUG=Ferdium:* npm run start:all-dev" | ||
43 | }, | 44 | }, |
44 | "keywords": [], | 45 | "keywords": [], |
45 | "dependencies": { | 46 | "dependencies": { |