Watches a file on host and publishes the content to web client
$ go run main.go -h
Usage of main:
-addr string
http service address (default ":8080")
-backend string
backend url for frontend (default "localhost:8080")
Run below and open http://localhost:8080
$ go run main.go watch-this-dir
- Build upon gorilla/websocket example code