Browse Source

chore: upgrade dev-practivce on upgrading electron

Junyi Du 2 years ago
parent
commit
cfce689632
1 changed files with 16 additions and 0 deletions
  1. 16 0
      docs/dev-practices.md

+ 16 - 0
docs/dev-practices.md

@@ -212,3 +212,19 @@ Currently the codebase is not formatted/indented consistently. We loosely follow
 There are some babashka tasks under `nbb:` which are useful for inspecting
 database changes in realtime. See [these
 docs](https://github.com/logseq/bb-tasks#logseqbb-tasksnbbwatch) for more info.
+
+## FAQ
+If dev app launch failed after electron upgrade:
+```
+yarn
+yarn watch
+```
+In another window:
+```
+cd static
+yarn
+cd ..
+yarn dev-electron-app
+``` 
+and kill all electron process
+Then a normal start happens via `yarn dev-electron-app`