diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2022-05-14 23:55:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-14 22:55:26 +0000 |
commit | 0128f5b0a192083d0392a069f9e7f12d356efed2 (patch) | |
tree | e6214a1ef9162789c4dab9398079538f3a04f680 /CONTRIBUTING.md | |
parent | Minor refactoring for aligning on usage of 'intl' package (diff) | |
download | ferdium-app-0128f5b0a192083d0392a069f9e7f12d356efed2.tar.gz ferdium-app-0128f5b0a192083d0392a069f9e7f12d356efed2.tar.zst ferdium-app-0128f5b0a192083d0392a069f9e7f12d356efed2.zip |
Add cross-env debug command for every platform (#148) [skip ci]
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 11 |
1 files changed, 2 insertions, 9 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()`. |