Sha256: 71b69bef3849b663dd7383f627ef41e4b856c8b1fa82e6e34a5cb204b360e5fd
Contents?: true
Size: 462 Bytes
Versions: 25
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true module Decidim # A special Spring watcher for Decidim to ignore specific paths from the # watching causing excessive use of inodes, issues with CPU usage and with # startup/stop. This should be loaded at the application's config/spring.rb # file. module SpringWatcher def start super listener.ignore(/^(node_modules|storage|tmp)/) end end end Spring::Watcher::Listen.prepend Decidim::SpringWatcher
Version data entries
25 entries across 25 versions & 1 rubygems