Kaynağa Gözat

Docs: Added info about reinstall and bootstrap scripts.

Piotrek Koszuliński 6 yıl önce
ebeveyn
işleme
3a4b0ddf05

+ 8 - 2
docs/framework/guides/contributing/development-environment.md

@@ -139,14 +139,20 @@ git pull
 
 # To update pull changes to all the packages:
 mgit sync
+
+# To install missing dependencies:
+yarn install
 ```
 
-From time to time, if the list of dependencies in any of the packages changed, you will need to call Yarn again to symlink them:
+From time to time, if the list of dependencies in any of the packages changed, new package has been added to `ckeditor5` or you just want to make sure that you have the repository up to date, run the `reinstall` script:
 
 ```bash
-yarn install
+git pull
+yarn run reinstall
 ```
 
+The `reinstall` script first calls `yarn run clean` to remove `node_modules/` directories from all packages (including `ckeditor5`) and then `yarn run bootstrap` which is a shorthand for `mgit sync && yarn install`.
+
 ### Working with multiple repositories
 
 Mgit implements many useful commands, such as: