Version: 4.11

File Synchronization

There are two types of file synchronzation processes:

  • on-demand file sync using devspace sync and
  • file synchronization during development mode using devspace dev.

Start On-Demand File Sync

To establish an on-demand file synchronization between your local computer and the containers running inside Kubernetes, use the following command:

devspace sync # common flags: --local-path=./ --container-path=/app --no-watch --config=./devspace.yaml

Learn more about the devspace sync command.

Configure File Sync

If you want to start file synchronization every time you run devspace dev, you can configure it within devspace.yaml.

Learn more about configuring file synchronization using devspace.yaml.