denon icon indicating copy to clipboard operation
denon copied to clipboard

Events

Open eliassjogreen opened this issue 5 years ago • 1 comments

Emit events that trigger certain scripts or commands, this would allow for live-reload of websites, linting, formatting etc. A good inspiration for events would be nodemon events. The events would also not block the normal function or executors of denon and should probably be called before the executors are called.

I propose that the bare minimum events would be:

  • start
  • restart
  • exit

And would be specified in the config like the following:

"events": {
	"start": "deno run ./setup.ts",
	"restart": "deno fmt",
	"exit": "deno run ./finish.ts"
}

eliassjogreen avatar Apr 14 '20 19:04 eliassjogreen

FYI I came here looking for livereload functionality 🤞

ldexterldesign avatar Apr 29 '21 22:04 ldexterldesign