Closed rome-user closed 1 year ago
You could create a .taurignore
file next to tauri.conf.json, it has a syntax similar to .gitignore files so i went a bit over the top and added this
\#*
\#*#
.\#*
.\#*#
**/\#*
**/\#*#
**/.\#*
**/.\#*#
And it looks like it worked..
Btw, you can also completely disable the dev watcher with the --no-dev-watcher
flag.
This is good solution to the problem. I wasn't aware of .taurignore
when reading the documentation
Thank you
Describe the bug
When running
tauri dev
and editing a Rust file, saymain.rs
, Emacs will usually create backup files like.build.rs
rather than editing a file directly. This seems to confuse Tauri and trigger a recompile (and restarting my app).Reproduction
tauri dev
main.rs
).Expected behavior
Autosave and backup files should not trigger any hot reloading facility. This problem does not exist with Shadow CLJS, Webpack HMR, etc.
Platform and versions
Stack trace
No response
Additional context
No response