Install packages by invoking yarn
at the root of the source tree. When the dependencies are installed, run yarn dev
.
Darkwrite uses yarn
for package management. vite-plugin-electron
is used to bundle the app. Changes to source code triggers hot module reload during development. Changes to main process code automatically restarts the app.
This issue may happen in some cases. If this happens, use yarn workspace @darkwrite/app-desktop rebuild
to recompile better-sqlite3.