Rails 3.x 最新特性,开发环境只加载更新的文件了。

xds2000 · December 13, 2011 · Last by hooopo replied at February 04, 2012 · 2265 hits

Speed up development by only reloading classes if dependencies files This can be turned off by setting config.reload_classes_only_on_change to false.

Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to config.watchable_files if they want their changes to affect classes reloading.

Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3

https://github.com/rails/rails/commit/fa1d9a884c0d5b70c97442e3360ac98ca5fa4340

<3<3<3<3<3

悲催的虎跑

这个是最近提交的?

#3 楼 @huacnlee 是呀 3.2(unreleased)

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