-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Exclude src-tauri from relative devPath #1897
Comments
This recursive bit seems to be the part to change: tauri/tooling/cli.rs/src/dev.rs Lines 146 to 159 in 2b4e2b7
Though it's blocked by notify-rs/notify#204. No work has been done on it in a while, it seems. |
@amrbashir gave a good solution!
|
Describe the bug
Not tested by me - came from Discord help-triage.
The developer said:
I replied that they can put a relative path instead of a dev server location. My example was to put
../
, thinking that devs may keep their vanilla assets at the top level.Noah highlighted that this may cause issues because it would then include
/src-tauri
. Obviously this can be bypassed if these are placed in a sub level, like/src
.Expected behavior
We should exclude the
/src-tauri
directory if pointed at the root level.We could also add a hint in the docs that devs can use a relative path. This question has come up a few times recently.
The text was updated successfully, but these errors were encountered: