LiveServer
Launch a development local Server with live reload feature
Language servers
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for LiveServer. The extension's id is live-server.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
zed-live-server
This extension adds my live server to zed
Info
- This is a very simple implementation of a live server
- its always running
- i dont know how to use commands(opening the browser) in zed/ maybe not possible yet
- the codeaction opens in browser & shows which port it is running on
How it works
- server: file change/save => sends update info over websocket
- css updates style tag, everything else reloads the page
- planed: extension that reloads only when the src was actually loaded fom the server(its only possible to monitor all outgoing requests with a extension ;( )
Config
{
/// Set if update on save or keypress [Default: false]
lazy: bool,
/// 0.0.0.0 or 127.0.0.1 [Default: false]
public: bool,
start_port: number
}
Using Zed Live Server
Shortcut: ⌘ + .
Go to your HTML file. Use a secondary click (for me, it’s a two-finger push; for you, it might be a right-click). Click on Code Action.