-
-
Notifications
You must be signed in to change notification settings - Fork 780
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
dx serve
prints "Failed to parse file: No such file or directory" and starts rebuild sometime on static string change (Neovim)
#2312
Comments
This is also present in helix, do you know any workarounds for that? |
I don't. |
I'm having the same issue here. The workaround from typst/typst#2633 seems to work fine on my neovim lua files: -- Rust dioxus workaround
vim.opt_local.backupcopy = "yes" But I'm still getting the error message when trying to set up the tailwind: |
This is most likely an unrelated error. Try changing |
I can no longer reproduce it. At least with new template and 79e18c2. The latest commit is broken as it panics on asset optimization step and has a fancy UI that is definitely isn't complete. I had |
If you're using nix we have a bug report on manganis where we're looking for the wrong "sh" and optimization fails - looks like there's a simple fix. |
using nix how? |
Problem
dx serve
(I guess starting from 0.5.x) now gives an error:when changing a static string in the
rsx
block (or probably anything else). In rare cases, it triggers a rebuild.After some debugging, I tried VSCodium and after each save absolutely nothing happened, and at that point I realized, it's typst/typst#2633 (comment) all over again. And, of course, the workaround is the same:
I think it is also caused by notify crate (same as with Typst). So either some configuration must be changed for the watcher to work better, or the upstream crate should accommodate the "fix" of the default when saving files in Neovim. Some new option or something. Otherwise, I think this won't be resolved (there is probably no chance Neovim will change its default behavior).
Steps To Reproduce
dx new
for desktop + tailwindcd
nvim src/main.rs
(Neovim 0.9.4)dx serve
rsx
blockExpected behavior
No errors or rebuilds.
Environment:
Questionnaire
The text was updated successfully, but these errors were encountered: