Open P4ul-J opened 3 years ago
I can reproduce the same error in the REPL.
By the way, the image is overwritten after launch and results in the event FileWatching.FileEvent(false, true, false)
.
I'm not clear how test.png
is changed so can't reproduce it faithfully.
It seems that there is some data race happening here. IIUC from the description, a file is changed doesn't necessarily mean the file is complete. Maybe we need a higher-level API on watch_file
to deal with the data racing issue, e.g., on_file_change(file; callback)
. In this case, callback = file->display(load(file))
.
The detect_rdata
issue is related to #338
The error message might be different for FileIO v1.10.
I want to loop over the following code in an IJulia notebook:
The first execution works as expected, however, during the second execution I get the following error message
and after executing the code yet another time additionally the following
I'm using Julia 1.6 and Images v0.24.1.