summaryrefslogtreecommitdiff
path: root/cmd/rr/main.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-03 15:44:51 +0300
committerWolfy-J <[email protected]>2019-05-03 15:44:51 +0300
commit28c787d66c2b74dd2300c792abd1e4f987c3d6c9 (patch)
treeb9c5ef036eda3ffa16b5e87a06ce99fcd8a4d7b4 /cmd/rr/main.go
parente9d42947a6922ce2f0aa9f9bcab4ead167735bc9 (diff)
new watchers functionality
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r--cmd/rr/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index 54915957..dc2fbc20 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -24,6 +24,7 @@ package main
import (
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
+ "github.com/spiral/roadrunner/service/watcher"
// services (plugins)
"github.com/spiral/roadrunner/service/env"
@@ -40,6 +41,7 @@ func main() {
rr.Container.Register(rpc.ID, &rpc.Service{})
rr.Container.Register(http.ID, &http.Service{})
rr.Container.Register(static.ID, &static.Service{})
+ rr.Container.Register(watcher.ID, &watcher.Service{})
// you can register additional commands using cmd.CLI
rr.Execute()