Skip to content

frederik-uni/zed-live-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages