TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

29 pointsby DallaRosaover 11 years ago

4 comments

fshenover 11 years ago
I did one using golang too. <a href="https://github.com/shenfeng/http-watcher" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;shenfeng&#x2F;http-watcher</a><p>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.
manacitover 11 years ago
<p><pre><code> flag.StringVar(&amp;path, &quot;watch&quot;, &quot;.&quot;, &quot;path to be watched&quot;) flag.StringVar(&amp;command, &quot;command&quot;, &quot;echo&quot;, &quot;path to be watched&quot;) </code></pre> I think there may be a mistake?
评论 #6964825 未加载
评论 #6964717 未加载
C1Dover 11 years ago
I&#x27;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.<p>This is going to be a great help towards that; props to the author.
评论 #6964625 未加载
svenkateshover 11 years ago
Very cool dude.<p>I hope more OC gets posted to YC, instead of the boring old news articles.
评论 #6964706 未加载