-
Notifications
You must be signed in to change notification settings - Fork 27
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
Files not updated until a reconnect #239
Comments
Are you working on the Pico directly (in the virtual filesystem)? |
I'm seeing the same. The virtual filesystem appears to reflect the updated changes, but they are not reflected in the execution. |
I am working on my PC, then uploading the files to Pico |
So detecting dependencies isn't supported at the moment. So if you have two files, you need to make sure to upload them both before executing anything. |
I have two files servo_test.py and a supporting file servo_lib.py (that is being imported by servo_test.py). Updates to the servo_lib.py are not being reflected when running servo_test.py until I reconnect the board.
--- servo_test.py ---
--- servo_lib.py ---
What are the steps to reproduce this issue?
What happens?
Changes to the file that is not being run are not reflected until the device (RP2040) is disconnected and reconnected (in SW using the status bar icon or physically).
After the device is reconnected and I hit Run on the servo_test.py, the changes in servo_lib.py magically "appear" (as long as the changes were uploaded to PICO before disconnect).
What were you expecting to happen?
The plugin should ideally auto-detect changes in servo_lib.py and upload it when running servo_test.py.
I tried all 3 options (Run current file on Pico, Upload current file to Pico, Upload project to Pico) with the servo_lib.py file, but running the servo_test.py didn't reflect these changes.
Reconnecting the RP2040 made the changes in servo_lib.py magically appear after hitting Run on servo_test.py (I did even not manually upload or run the servo_lib.py after reconnecting)
Any logs, error output, etc?
2024-07-26 12:28:39.571 [info] ExtensionService#_doActivateExtension paulober.pico-w-go, startup: false, activationEvent: 'onFileSystem:pico'
** nothing else **
Which version of MicroPico are you using?
v3.8.2
Support info
The text was updated successfully, but these errors were encountered: