TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Multi-Machine Development Workflows?

3 pointsby arkmmover 4 years ago
I frequently switch between a laptop or a desktop while working on code - mostly just because I enjoy changing the scenery from my desk occasionally. My current cobbled-together approach is to have a git repo inside a Dropbox folder and try to keep virtual environments up to date between both machines, but it feels sub optimal.<p>Does anyone have any tips on how they manage maintaining development state across multiple machines?

2 comments

jolmgover 4 years ago
If you&#x27;re fine with the laptop, is there any reason to use the desktop? Why not just keep it as a backup dev environment? That&#x27;s what I do.<p>If you&#x27;re an emacs user, you can put an emacs daemon somewhere accessible and connect emacs clients from both machines. This allows you to continue on your work when switching machines without even saving.<p>Vim doesn&#x27;t have the same type of server functionality, but if you open up vim on a file that another vim process has opened, it&#x27;ll ask you if you want to open it up in the same (maybe unsaved) state the original process has and so continue to work on it.<p>You can also work from tmux.<p>There&#x27;s many ways to go about this depending on what you consider to be the &quot;development state&quot; you want to preserve (like, does it include the graphical windows and optionally their positions?), but the simplest for me still seems to be to avoid the whole issue and work almost exclusively on the laptop.
jonpalmiscover 4 years ago
Probably not the answer you’re looking for, but Windows Remote Desktop (if you’re on Windows) is REALLY good. If feels almost identical to using the remote computer directly, it’s snappy even on a mobile hotspot connection. If you’re not on Windows, I’m a fan of AnyDesk (no affiliation), and have had good experiences with it in the past.<p>Rather than deal with syncing environments, etc. why not just use the same one all the time and remote to your desktop when you want to use your laptop?