live-server icon indicating copy to clipboard operation
live-server copied to clipboard

Run code on watch update

Open giraffekey opened this issue 3 years ago • 1 comments

Some sort of "onUpdate" handler would be helpful:

liveServer.start({
    ...
    onUpdate() {
        console.log("Updating...")
        // some more code
    }
})

giraffekey avatar Oct 08 '20 22:10 giraffekey

Someone found a way to do it here

Aworldc avatar Jan 04 '22 00:01 Aworldc