Add purge feature

This commit is contained in:
2022-11-29 12:33:02 +01:00
parent 427e287895
commit f081b97beb
3 changed files with 45 additions and 4 deletions

View File

@ -49,6 +49,7 @@ func watchAction(ctx *cli.Context) error {
select {
case event := <-w.Event:
fmt.Printf("File %s changed\n", event.Name())
purge(opts)
cp(opts)
build(opts)
replace(opts)