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
Open

cargo leptos watch: can files be ignored? #403

jasonish opened this issue Dec 3, 2024 · 0 comments

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 -> [email protected]: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
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

No branches or pull requests

1 participant