CLI for syncing WordPress themes to remote servers.
Edit locally. Auto-sync on save. SSH or FTP.
Like shopify theme dev, but for WordPress.
npx wp-dev-sync <command>
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ │ │ │ │ │
│ Your │ SSH │ wp-dev- │ rsync │ Remote │
│ Editor │ ──────▶ │ sync │ ──────▶ │ Server │
│ │ FTP │ (watcher) │ lftp │ │
│ Save file │ │ Detects Δ │ │ Theme live │
│ │ │ │ │ │
└─────────────┘ └─────────────┘ └─────────────┘
│ │ │
localhost auto-sync your-server.com
choco install rsync · brew install rsync
choco install lftp · brew install lftp
| OS | WATCHER | LATENCY | INSTALL |
|---|---|---|---|
| macOS | fswatch | ~0.5s | brew install fswatch |
| Linux | inotifywait | ~0.5s | apt install inotify-tools |
| Windows | Polling | ~2s | Built-in (no install) |
Native watchers are optional. Falls back to polling automatically.