<p>What are your favorite tools when it comes to automatically re-run go test / go run on file changes?</p>
<hr/>**评论:**<br/><br/>todysh: <pre><p><a href="https://github.com/Unknwon/bra" rel="nofollow">https://github.com/Unknwon/bra</a> is one of such tools</p></pre>machete143: <pre><p>thanks, i'll check it out</p></pre>SupersonicSpitfire: <pre><p>inotifywait in a loop in a script</p></pre>icholy: <pre><p>I know right?</p></pre>machete143: <pre><p>no inotify on windows</p></pre>fatcatthebrat: <pre><p>I made one <a href="https://github.com/julien/testspy" rel="nofollow">https://github.com/julien/testspy</a> for fun but I have no idea if it fits your needs</p></pre>machete143: <pre><p>cool i check it out</p></pre>robbles: <pre><p><a href="https://github.com/codegangsta/gin" rel="nofollow">https://github.com/codegangsta/gin</a> is a nice one that starts a proxy in front of your app. That way it's still serving while it rebuilds, so you never get a connection error.</p>
<p>Only downside to it I've found is that you can't customise the command line - it expects your app to read environment variables for config.</p></pre>machete143: <pre><p>yeah the PORT restriction is not that cool</p></pre>mgutz: <pre><p><a href="https://github.com/go-godo/godo" rel="nofollow">godo</a></p></pre>machete143: <pre><p>Cool stuff! I'll check that out</p></pre>jmoiron: <pre><p>I use <a href="https://github.com/cespare/reflex" rel="nofollow">https://github.com/cespare/reflex</a> for all such tasks as it's written in Go but not Go specific.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传