Merge pull request #49 from matrix-org/continuserv-logging

Continuserv: Log port being listened on
pull/51/head
Daniel Wagner-Hall 9 years ago
commit 0b183f06f8

@ -56,7 +56,7 @@ func main() {
go doPopulate(ch, dir)
go watchFS(ch, w)
fmt.Printf("Listening on port %d\n", *port)
http.HandleFunc("/", serve)
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))

Loading…
Cancel
Save