* refactor: uniform md style & grammarly * feat: update documents * fix links * Update updater.md * Update macos.md * remove statement about preferred pkg managers * grammarly * remove vscode config * move and expand contribution guidelines * Update CONTRIBUTING.md * Update CONTRIBUTING.md * update readme
1.4 KiB
import Command from '@theme/Command'
Development Cycle
1. Start Your Dev server
Now that you have everything set up, you should start your application development server provided by your UI framework or bundler (assuming you're using one, of course).
:::note Every framework has its development tooling. It is outside of the scope of this document to treat them all or keep them up to date. :::
2. Start Tauri Development Window
The first time you run this command, the Rust package manager takes several minutes to download and build all the required packages. Since they are cached, subsequent builds are much faster, as only your code needs rebuilding.
Once Rust has finished building, the webview opens, displaying your web app. You can make changes to your web app, and if your tooling enables it, the webview should update automatically, just like a browser. When you make changes to your Rust files, they are rebuilt automatically, and your app automatically restarts.
:::info About Cargo.toml and Source Control In your project repository, you SHOULD commit the "src-tauri/Cargo.lock" along with the "src-tauri/Cargo.toml" to git because Cargo uses the lockfile to provide deterministic builds. As a result, it is recommended that all applications check in their Cargo.lock. You SHOULD NOT commit the "src-tauri/target" folder or any of its contents. :::