When the config.json file is placed in the application installation directory, it always triggers rebuild #13104
-
I want to create a portable and multi open application, so each copy needs to have a unique config. json file. However, if I place config. json in the project directory (such as src-tauri/resources/config.json), every time the application modifies config. json, it will trigger a rebuild. Q1: Is it possible to exclude config. json from the rebuild monitoring file list? Looking forward to your answer! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can tell tauri to ignore that path in the file watcher: https://v2.tauri.app/develop/#reacting-to-source-code-changes |
Beta Was this translation helpful? Give feedback.
You can tell tauri to ignore that path in the file watcher: https://v2.tauri.app/develop/#reacting-to-source-code-changes