You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dev flow with a python binary as a sidecar gets interrupted after making any changes to the sidecar. I'm on an ARM Mac (M1 Air).
I've created a repo with info and easy reproduction steps in the readme: https://github.com/SamLewis0602/tauri-repro
The binary still works normally when called from the terminal
The sidecar works in the prod build yarn tauri build
The sidecar only fails in dev yarn tauri dev
If I reboot my computer the binary will work again without changing the binary at all. It makes me wonder if it's somehow related to signing the binary? Thanks for any help.
The text was updated successfully, but these errors were encountered:
Thanks for the detailed issue, makes my job a fun one! The problem only happens on macOS, don't ask me why but I think it's some kind of cache preventing the new sidecar from running. I noticed playing in the terminal that deleting the file and copying again works, so let's do this :) really really thank you for catching this!
Describe the bug
The dev flow with a python binary as a sidecar gets interrupted after making any changes to the sidecar. I'm on an ARM Mac (M1 Air).
I've created a repo with info and easy reproduction steps in the readme: https://github.com/SamLewis0602/tauri-repro
Reproduction
To reproduce
simple.py
(pyinstaller -F simple.py
)yarn tauri dev
, see app for command outputsimple.py
(change printed text or whatever)Expected behavior
To be able to change the sidecar binary itself and still have it run in
yarn tauri dev
Platform and versions
Stack trace
No response
Additional context
Note:
yarn tauri build
yarn tauri dev
If I reboot my computer the binary will work again without changing the binary at all. It makes me wonder if it's somehow related to signing the binary? Thanks for any help.
The text was updated successfully, but these errors were encountered: