diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2022-12-20 13:05:36 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-20 13:05:36 +0900 |
| commit | 2fe86fd86937b47969447d91bb987b7e0233afd5 (patch) | |
| tree | af191c8be7193a1e5b254f1e857b14e8023f90d2 /CONTRIBUTING.md | |
| parent | :art: (diff) | |
| download | misskey-2fe86fd86937b47969447d91bb987b7e0233afd5.tar.gz misskey-2fe86fd86937b47969447d91bb987b7e0233afd5.tar.bz2 misskey-2fe86fd86937b47969447d91bb987b7e0233afd5.zip | |
enhance: Vite HMR while yarn dev, and more build tuning (#9361)
* enhance: Vite HMR while yarn dev, and more build tuning
* use localhost
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 36a4feb7e0..4689543d50 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -99,9 +99,17 @@ If your language is not listed in Crowdin, please open an issue.  ## Development -During development, it is useful to use the `yarn dev` command. -This command monitors the server-side and client-side source files and automatically builds them if they are modified. -In addition, it will also automatically start the Misskey server process. +During development, it is useful to use the + +``` +yarn dev +``` + +command. + +- Server-side source files and automatically builds them if they are modified. Automatically start the server process(es). +- Vite HMR (just the `vite` command) is available. The behavior may be different from production. +- Service Worker is watched by esbuild. ## Testing - Test codes are located in [`/test`](/test). |