Gem Grape 用 Rack::Reloader 的时候出问题, endpoints 重复了....

tumayun · January 14, 2014 · Last by tumayun replied at January 14, 2014 · 2428 hits

最近用 Grape + Goliath 写 API,在 development 下 reload 出问题了. 导致 action 里面怎么改都是启动时候的代码,debugger 了半天,才发现 load 一次文件,endpoints 就又加载了一次,没有去重。

详见 https://github.com/intridea/grape/issues/552

不知道大家有遇到过这个问题不。

木有人碰到吗?

You need to Sign in before reply, if you don't have an account, please Sign up first.