3 ms·
Maybe don't edit on a server. Have you heard of git?
by dingleberry420 4y ago
Maybe don't edit on a server. Have you heard of git?
- joshstrange 4y agoThere is no need to act like this. Of course I've heard of git and we use it, we just don't use local (on the computer we develop on) dev environments, we have a mix of developer-specific VMs and local physical hardware due to the nature of our business.
- heartbreak 4y agoI’d write the SFTP stuff as a script and invoke it as needed via a VS Code task. I have a few workflow-type things like this that I normally do via the CLI, but now I’ve added them as tasks to VS Code for convenience. I can also create the task at the project level and check in the JSON config so that teammates can use those same tasks.
- seabrookmx 4y ago+1 for remote ssh. If you can SFTP to the box you can use this feature. The only possible wrinkle is the developer box needs the build toolchain. If you're writing python, your remote box obviously already has it to run your app. But if you're writing Rust or golang, it's very possible the remote machine doesn't have the compilers.