Work around Listen :only weirdness. Addresses #1637

This commit is contained in:
Thomas Reynolds 2015-11-27 15:26:46 -08:00
parent 822a9f0ecc
commit dd0ee24ca3
10 changed files with 24 additions and 22 deletions

View file

@ -47,10 +47,10 @@ module Middleman
@options = options
# Set of procs wanting to be notified of changes
@on_change_callbacks = ::Hamster.vector
@on_change_callbacks = ::Hamster::Vector.empty
# Global ignores
@ignores = ::Hamster.hash
@ignores = ::Hamster::Hash.empty
# Whether we're "running", which means we're in a stable
# watch state after all initialization and config.