from Hacker News

Show HN: My nodejs-supervisor like tool, written in Go

by DallaRosa on 12/25/13, 6:08 PM with 16 comments

  • by fshen on 12/26/13, 1:58 AM

    I did one using golang too. https://github.com/shenfeng/http-watcher

    It monitors a directory for change (using notify facility provided by the OS), upon change, will execute a given command given by command line arg `-command`. If any browser connected, it will try to refresh the browser too.

  • by manacit on 12/25/13, 8:42 PM

            flag.StringVar(&path, "watch", ".", "path to be watched")
            flag.StringVar(&command, "command", "echo", "path to be watched")
    
    I think there may be a mistake?
  • by C1D on 12/25/13, 9:23 PM

    I'm actually developing a node.js application right now and I wondering if there was a easy way to live update my changes instead of restarting my app manually.

    This is going to be a great help towards that; props to the author.

  • by svenkatesh on 12/25/13, 10:53 PM

    Very cool dude.

    I hope more OC gets posted to YC, instead of the boring old news articles.