Some editors use autosave files to protect against data loss without clobbering the edited file itself - e.g. Emacs uses #main.rs# as autosave for main.rs.
Currently, every time an autosave is written, trunk serve triggers a spurious rebuild, which is both wasteful and distracting.
It looks like the watch.ignore setting in Trunk.toml only allows to specify exact pathnames, so we cannot just add a pattern like #*# to get the expected result.
Further more, we cannot even list such frequently-appearing individual backup files by name, since they must exist when Trunk starts (why does it even care?)
Some editors use autosave files to protect against data loss without clobbering the edited file itself - e.g. Emacs uses
#main.rs#
as autosave formain.rs
. Currently, every time an autosave is written,trunk serve
triggers a spurious rebuild, which is both wasteful and distracting. It looks like thewatch.ignore
setting inTrunk.toml
only allows to specify exact pathnames, so we cannot just add a pattern like#*#
to get the expected result.Further more, we cannot even list such frequently-appearing individual backup files by name, since they must exist when Trunk starts (why does it even care?)