我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Golang Revel框架在Docker环境中热重载

I'm trying to set up golang environment as described in this great post. I'm using Docker on OS X 10.10 with boot2docker (v1.3.0) and fig.sh (1.0.1). Everything runs fine, but revel's hot-reload not working at all. Anyone experienced same problem or know any workaround to make hot-reload work? Revel framework version 0.11.1

Boot2docker uses VirtualBox, and I'm assuming vboxsf for shared folders. vboxsf doesn't notify about changed files. Try keeping the files completely inside the virtual machine. Does that help?

近期文章

  • 如何在Go中使用vector(C ++)?
  • GoLang-Undefined canvas-需要绘制到服务器
  • golang频道无法使用或发布
  • 在Go中获取内部JSON值
  • Golang写net.Dial响应浏览器
  • heroku应用程序-登录时崩溃
  • 使用Angular.js进行大猩猩Mux路由
  • golang webapp init.d脚本挂起
  • Accept()花费太长时间返回golang
  • 使用Go在VM之间发送消息?
  • 通过Go获取Google的数据存储区密钥值
  • 使用Go和Compute Engine安全地存储数据
  • 无法在Go中将图像添加到html模板
  • 将通道中的值传递给Golang中的可变参数函数
  • 转到模板:范围超过字符串
  • 将ODBC转到iSeries:SQL0104-无法成功翻译消息
  • 如何安排这些数据?
  • 带有类型映射的数组
  • Golang嵌套模板重新定义错误
  • 查找未知(树状)数据结构中一个节点范围内的所有节点

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华