Live data from Hacker News

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

github.com

11–17 of 17 posts

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

#11
post #2

flag.StringVar(&path, "watch", ".", "path to be watched") flag.StringVar(&command, "command", "echo", "path to be watched") I think there may be a mistake?

Fixed :) https://github.com/dallarosa/eyenotify/commit/e007b03bdbfd2f...

You might want to update Readme.md too :)

  Usage of eyenotify:
   -command="echo": path to be watched

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

#12
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.

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

#13
post #5
post #3

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.

You might be interested in nodemon https://github.com/remy/nodemon

Or, if you're on OSX using fswatch[1] or on linux inotifywatch[2] along with a simple shell script which kills and restarts your server. Crude, but gets the job done..

    [1] https://github.com/alandipert/fswatch
    [2] http://linux.die.net/man/1/inotifywatch

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

#15

Earlier quoted context omitted.

Fixed :) https://github.com/dallarosa/eyenotify/commit/e007b03bdbfd2f...

You might want to update Readme.md too :) Usage of eyenotify: -command="echo": path to be watched

thanks man! fixed :)

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

#16
post #14
post #8

Earlier quoted context omitted.

Original Content

It'd be nice to have less of those acronyms on HN, it's really not obvious. Maybe because i'm not a native speaker..

It's not really about being a native speaker. It's really just about getting used the "lingo".

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

#17
post #14

Earlier quoted context omitted.

It'd be nice to have less of those acronyms on HN, it's really not obvious. Maybe because i'm not a native speaker..

It's not really about being a native speaker. It's really just about getting used the "lingo".

And soon everything will be acronyms. What use is it to shorten simple english words?! We already have enough acronyms in IT, we don't need to shorten simple sentences as well.. Isn't OP, TFA, AFAIK, IMHO, etc. enough already?
Post reply on HN