fix: fix plugins/fs infinite loop on autoregen#1029
Conversation
V2 merges to forked branch
|
Thanks for contributing! To merge this we'll need a changefile similar to https://github.com/tauri-apps/plugins-workspace/blob/v2/.changes/fix-zbus-import.md Also, the if statement is a bit incorrect. As it is, it won't write the file if it doesn't exist already. |
Thanks @FabianLars for pointing that out, I appreciate it. I see it now. Give me a moment, I'll update this PR and address that
I'll also add a file to |
lucasfernog
left a comment
There was a problem hiding this comment.
this is the way we handle this on the tauri side
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
plugins/fs infinite loop on autoregenplugins/fs infinite loop on autoregen
The auto-regen from
plugins/fs/build.rswould keep generating on compile time. Upon check-up, it made more sense to just make sure it doesn't regenerate files redundantly, so I implemented a check to see if the files are redundant or not.Please let me know if I missed something