-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[bug] yarn tauri dev
window crashes and restart with no any error message printed.
#5417
Comments
The file watcher watches the whole src-tauri dir so i guess the changes to the db file triggers it. You could try adding a |
I connect the db file in read-only mode: |
This comment was marked as resolved.
This comment was marked as resolved.
Adding the
But is it possible to only ignore the single |
Not sure how sqlite databases work, maybe it still creates a lockfile or something?
If |
Thank you, I think we absolutely need to let cli print some information when detecting file changes. It's so wired. |
By using #5428, I find out the changed file is
But for |
Describe the bug
yarn tauri dev
, the window closes after executing atauri::command
and automatically reopen. With no any panic message.yarn build
and then usingcargo run
, the program works just fine, no any error occurs. Which is wired.I guess this is a bug of
@tauri/cli
.Reproduction
git clone https://github.com/Tnze/ffxiv-best-craft.git
git checkout e804ed40496595fb3143f38bf641b2f62c15dc07
yarn install
yarn tauri dev
Expected behavior
Expecte the cli doesn't close and reopen my window.
Platform and versions
Stack trace
DOESN'T EXIST
Additional context
The
tauri::command
executed is this one:https://github.com/Tnze/ffxiv-best-craft/blob/e804ed40496595fb3143f38bf641b2f62c15dc07/src-tauri/src/main.rs#L107-L111
The defining of app_state is
tauri::State<'_, AppState>
which has to write a'_
lifetime for pass the compiling. That is different from other commands. Is that expected?The text was updated successfully, but these errors were encountered: