realize run handle
This commit is contained in:
parent
3aaf5c09ed
commit
c29f664e53
3
main.go
3
main.go
|
@ -38,8 +38,7 @@ func main() {
|
||||||
Usage: "Build and watch file changes",
|
Usage: "Build and watch file changes",
|
||||||
Action: func(p *cli.Context) error {
|
Action: func(p *cli.Context) error {
|
||||||
y := r.New(p)
|
y := r.New(p)
|
||||||
y.Watch()
|
return handle(y.Watch())
|
||||||
return nil
|
|
||||||
},
|
},
|
||||||
Before: func(c *cli.Context) error {
|
Before: func(c *cli.Context) error {
|
||||||
header()
|
header()
|
||||||
|
|
Loading…
Reference in New Issue