浏览代码

chore: upgrade dev-practivce on upgrading electron

Junyi Du 2 年之前
父节点
当前提交
cfce689632
共有 1 个文件被更改,包括 16 次插入0 次删除
  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`