Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo leptos watch: can files be ignored? #403

Open
jasonish opened this issue Dec 3, 2024 · 0 comments · May be fixed by #409
Open

cargo leptos watch: can files be ignored? #403

jasonish opened this issue Dec 3, 2024 · 0 comments · May be fixed by #409

Comments

@jasonish
Copy link

jasonish commented Dec 3, 2024

For example, as soon as I make a change to app.rs in Emacs, a .#app.rs... is created, triggering. If I resave the file before the re-build is done, sometimes watch doesn't catch it. I'd rather it not rebuild when this temporary files are created.

I'v noticed it doesn't happen for vim .swp files:

ls -l ./src

lrwxrwxrwx. 1 jason jason    38 Dec  2 23:13 .#app.rs -> jason@desktop.unx.ca.889913:1733000454
-rw-r--r--. 1 jason jason 10915 Dec  2 23:12 app.rs
-rw-r--r--. 1 jason jason  4096 Dec  2 23:12 .app.rs.swp
@sabify sabify linked a pull request Dec 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant