added plug in

This commit is contained in:
Taszid Chowdhury 2025-03-24 17:52:17 -04:00
parent d497dcaba7
commit a56aef7812

15
_plugins/watcher-patch.rb Normal file
View File

@ -0,0 +1,15 @@
# 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