Replies: 2 comments 5 replies
-
Can you try updating rust? Also maybe whitelist the project dir in your antivirus software. (And cleaning the target dir may be a good idea too) The first one is because there were many incremental compilation bugs in prior versions and the latter is because someone on discord had a similar problem caused by Avira |
Beta Was this translation helpful? Give feedback.
-
If anyone has the same issue, you'll need the
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I am generally new to the Rust language and in process of learning, however, I am not sure if this is an issue or if something is missing. Using Vite and Vue for the client. On the backend, I want to connect rust to SQLite.
There is nothing much going on, my main.rs looks like this:
After I start the app with
tauri dev
the app compiles fine,printlln!
printsSqlxSqlitePoolConnection
, however, it keeps restarting, it opensWebView
for a second, and then close and compiles again and again.In between some compilations, I can see this warning if it matters something, this is the console output
As you can see it just compiles non-stop. When I remove the line where it connects to the database it is working fine. So is this something from tauri side or sea_orm, since it is not throwing errors or not compiling, just restarting. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions