diff --git a/demo/demo.go b/demo/demo.go index 4374a5e..b6d0694 100644 --- a/demo/demo.go +++ b/demo/demo.go @@ -35,6 +35,8 @@ func main() { secondly.Manage(&conf) // Handling file system events secondly.HandleFSEvents() + // Handle SIGHUP + secondly.HandleSIGHUP() // Starting a web server secondly.StartServer("", 5500) // Defining callbacks