diff --git a/cmd.go b/cmd.go index a9cdd65..e876627 100644 --- a/cmd.go +++ b/cmd.go @@ -137,7 +137,7 @@ func (r *realize) run(p *cli.Context) error { //} if elm.Cmds.Fmt.Status { if len(elm.Cmds.Fmt.Args) == 0 { - elm.Cmds.Fmt.Args = []string{"-s", "-w", "-e", "./.."} + elm.Cmds.Fmt.Args = []string{"-s", "-w", "-e", "./"} } r.Schema[k].tools = append(r.Schema[k].tools, tool{ status: elm.Cmds.Fmt.Status, diff --git a/watcher.go b/watcher.go index 094723c..571368e 100644 --- a/watcher.go +++ b/watcher.go @@ -90,7 +90,7 @@ type BufferOut struct { // Watch the project func (p *Project) watch() { - p.watcher, _ = Watcher() + p.watcher, _ = Watcher(r.Settings.Legacy.Force, r.Settings.Legacy.Interval) stop, exit := make(chan bool), make(chan os.Signal, 2) signal.Notify(exit, os.Interrupt, syscall.SIGTERM) // before global commands