-
Notifications
You must be signed in to change notification settings - Fork 297
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
webREPL sends old file data: unexpected UI behaviour #8
Comments
This should be fixed by #14. |
OSX still has problems with this in Safari and Chrome - the old file contents are sent unless a different file is selected in the requestor and then the original file is reselected. Firefox and Chrome on Linux do the right thing and will update the device with the new file length and contents. |
Correction: this works with a local checkout, but not with the hosted version at http://micropython.org/webrepl. This appears to have the same problem as #15 (comment) -- the hosted version hasn't been updated in a while. |
Thanks for the report, it's now updated to the latest version. |
I've been experimenting with Micropython on an ESP32 using Linux and experience this webrepl bug with current version esp32-20210418-v1.15.bin. If I just press the "send to device" button then the send appears to work but the old file is sent. I have to open the file dialog and select the file (again) so that the new file contents are sent, which really hampers the debug loop cycle. Happens in Chrome, Firefox, and GNOME Web so it not browser dependent. |
Usage: send a program to the esp8266, run it then modify the source. Use webREPL to re-send the updated source. The UI still shows the name of the file, and pressing 'Send to device' apparently works. However it behaves as if the old file were buffered re-sending the old data. It seems to be necessary to browse for the file again to force it to load the new version.
While not a major issue it is likely to confuse newcomers.
The text was updated successfully, but these errors were encountered: