TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

29 点作者 DallaRosa超过 11 年前

4 条评论

fshen超过 11 年前
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.
manacit超过 11 年前
<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 未加载
C1D超过 11 年前
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 未加载
svenkatesh超过 11 年前
Very cool dude.<p>I hope more OC gets posted to YC, instead of the boring old news articles.
评论 #6964706 未加载