Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Live Edit SyncNew to Visual Studio Code? Get it now.
Live Edit Sync

Live Edit Sync

Devendra Kumawat

| (0) | Free
Real-time live editing between VS Code and browser — with Start/Stop commands and instant WebSocket sync.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🚀 Live Edit Sync

Live Edit Sync enables real-time, save-free HTML & CSS editing between VS Code and your browser — no refresh needed.


✨ Features

  • 🔁 Instant updates (no save or reload)
  • 🧠 Smart DOM patching via Morphdom (only diffs changes)
  • 🎨 Live CSS reloads
  • 🖥️ Multi-browser sync
  • 🔌 Start/Stop directly from VS Code
  • 🟢 Browser toggle button to enable/disable live editing
  • 🔁 Auto reconnect if connection drops

🧩 How It Works

Layer Role
VS Code extension Watches file edits and sends content to WebSocket
server.js Relays messages between VS Code and browsers
index.html Receives updates and applies them instantly

🧰 Commands

  • ▶️ Start Live Edit → Connect VS Code to WebSocket
  • ⏹️ Stop Live Edit → Disconnect VS Code

🖥️ Browser Setup

Serve your web page (for example):

cd ~/Desktop/live-edit-test
http-server -p 8081
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft