githubnemo / CompileDaemon

Very simple compile daemon for Go
BSD 2-Clause "Simplified" License
1.63k stars 155 forks source link

Allow option to NOT build #43

Closed J7mbo closed 4 years ago

J7mbo commented 4 years ago

This is great to just have go run . re-run on a file change. It's perfect with the combination of a templating engine which rebuilds go files once the html files are updated.

However, CompileDaemon always compiles the binary when many times I only want to have go run executed with -command.

Is there any chance of providing an option to not build?

J7mbo commented 4 years ago

I switched to reflex and I can run:

reflex --start-service --regex='.*.go)' go run .

I will close this issue, but please feel free to reopen it if you consider the idea valuable. Thanks!

pjebs commented 3 years ago

See https://github.com/githubnemo/CompileDaemon/issues/54