live-server
live-server copied to clipboard
Run code on watch update
Some sort of "onUpdate" handler would be helpful:
liveServer.start({
...
onUpdate() {
console.log("Updating...")
// some more code
}
})
Someone found a way to do it here