mirror of
https://github.com/cotes2020/chirpy-starter.git
synced 2025-04-19 02:43:28 +10:00
15 lines
290 B
Ruby
15 lines
290 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'jekyll-watch'
|
|
|
|
module Jekyll
|
|
module Watcher
|
|
extend self
|
|
|
|
alias_method :original_listen_ignore_paths, :listen_ignore_paths
|
|
|
|
def listen_ignore_paths(options)
|
|
original_listen_ignore_paths(options) + [%r!.*\.TMP!i]
|
|
end
|
|
end
|
|
end |