Variable: treemacs-file-event-delay
treemacs-file-event-delay is a customizable variable defined in
treemacs-customization.el.
Value
2000
Documentation
How long (in milliseconds) to collect file events before refreshing.
When treemacs receives a file change notification it doesn't immediately refresh
and instead waits treemacs-file-event-delay milliseconds to collect further
file change events. This is done so as to avoid refreshing multiple times in a
short time.
See also treemacs-filewatch-mode(var)/treemacs-filewatch-mode(fun).
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-file-event-delay 2000
"How long (in milliseconds) to collect file events before refreshing.
When treemacs receives a file change notification it doesn't immediately refresh
and instead waits `treemacs-file-event-delay' milliseconds to collect further
file change events. This is done so as to avoid refreshing multiple times in a
short time.
See also `treemacs-filewatch-mode'."
:type 'integer
:group 'treemacs)