lib/softcover/commands/server.rb in softcover-0.7.7 vs lib/softcover/commands/server.rb in softcover-0.7.8

- old
+ new

@@ -8,10 +8,10 @@ # Listens for changes to the book's source files. def listen_for_changes return if defined?(@no_listener) && @no_listener server_pid = Process.pid - filter_regex = /(\.md|\.tex|custom\.sty|Book\.txt)$/ + filter_regex = /(\.md|\.tex|custom\.sty|Book\.txt|book\.yml)$/ @listener = Listen.to('.') @listener.filter(filter_regex) @listener.change do |modified| first_modified = modified.try(:first)