ionic capacitor sync
Sync (copy + update) an Ionic project
ionic capacitor sync [options]
ionic capacitor sync will do the following:
- Perform an Ionic build, which compiles web assets
 - Copy web assets to Capacitor native platform(s)
 - Update Capacitor native platform(s) and dependencies
 - Install any discovered Capacitor or Cordova plugins
 
Inputs
platform | |
|---|---|
| Description | The platform to sync (e.g.   | 
Options
 | |
|---|---|
| Description | Do not invoke an Ionic build  | 
 | |
| Description | Flag to use the   | 
Advanced Options
 | |
|---|---|
| Description | Specify the configuration to use.  | 
| Aliases | -c | 
 | |
| Description | Output source maps  | 
 | |
| Description | Rebuild when files change  |