erisu commented on code in PR #1416:
URL: https://github.com/apache/cordova-docs/pull/1416#discussion_r2031383889


##########
www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md:
##########
@@ -194,7 +194,7 @@ cordova plugin add ../path/to/my/plugin/relative/to/project 
--link
 ```
 
 This creates a symbolic link instead of copying the plugin files, which 
enables you
-to work on your plugin and then simply rebuild the app to use your changes.
+to work on your plugin and then simply rebuild the app to use your changes. 
You have to add the plugin after you added the platform, otherwise the link 
will not work. The link will also be lost, if you re-add a platform. If you do 
this you have to re-add the plugin.

Review Comment:
   ~I used a ";" because they both could be stand-alone sentences.~
   Update: Decided to replaced `; otherwise` with `, or`.
   
   ### Example of Restoring a Project
   1. `git clone project....`
   2. `npm install`
   3. `cordova prepare`
   
   The prepare step will restore the project based on the platforms and plugins 
that were previously added and stored in `package.json` and `config.xml`.
   
   Same applies if your working with an existing project and just running.
   
   1. `rm -rf platforms plugins`
   2. `cordova prepare`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to