Revert "Use `app.config.file_watcher` for watcher in `RoutesReloader`"
This reverts commit 28e44f47. A limitation of Listen is that it currently only supports watching directories. Therefore, watching `config/routes.rb` will end up watching the entire `config` directory if we use the evented file watcher. This causes problems especially if symlinks are present in the `config` directory.
Showing
想要评论请 注册 或 登录