Skip to content

Use ActiveSupport::EventedFileUpdateChecker #1361

Description

@gabebw

Adding this line to config/development.rb sped up load times from 230ms per CSS file(!) to about 0.6ms per CSS file:

config.file_watcher = ActiveSupport::EventedFileUpdateChecker

I'm honestly not sure why this isn't the Rails default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions