If you are working with an unsupported IDE locally, Coder's live sync mechanism allows you to sync code from your local IDE with your Coder environment. Live sync watches your workspace for changes and pushes updates whenever it detects changes. This allows you to leverage Coder for testing, compilation, and so on.
Please make sure that rsync is installed on both your local machine and Coder environment.
To establish a one-way directory sync to a remote environment
coder sync [local directory] [<env name>:<remote directory>]
Coder sync flags:
--init: do initial transfer and exit
To sync your local directory ~/Projects/cdr/coder-cli to coder-cli in the home directory of your environment:
$ coder sync ~/Projects/cdr/coder-cli my-env:coder-cli
2020-05-19 17:57:40 INFO doing initial sync (~/Projects/cdr/coder-cli -> coder-cli)
2020-05-19 17:57:41 SUCCESS finished initial sync (878ms)
2020-05-19 17:57:41 INFO watching ~/Projects/cdr/coder-cli for changes