GenieFramework / StippleUI.jl

StippleUI is a library of reactive UI elements for Stipple.jl.
MIT License
82 stars 15 forks source link

Uploader stops working after triggering autoreload by making changes to code #125

Open PGimenez opened 5 months ago

PGimenez commented 5 months ago

It seems that the channel stops working after making changes to the code. That is, if I

The events are still triggered, but no files are uploaded. Here's a trace:

julia> using GenieFramework;Genie.loadapp();up(8004)┌ Info: 2024-01-11 15:00:13 File was uploaded:
│   fileuploads =
│    Dict{AbstractString, AbstractString} with 3 entries:
│      "name"    => "Screenshot 2024-01-05 at 16.28.53.png"
│      "channel" => "XCIGZVBZSNCREKBQWIALWOLYVLCOZIRT"
└      "path"    => "/var/folders/h_/l8hxc31x73s97400gprpwnr80000gn/T/jl_8paBqBk3qP"
__model__.imgsrc[] = "/uploads/uNa2dTPyd8_U2NyZWVuc2hvdCAyMDI0LTAxLTA1IGF0IDE2LjI4LjUzLnBuZw=="
[ Info: 2024-01-11 15:00:13 uploaded
[ Info: 2024-01-11 15:00:13 finished
[ Info: 2024-01-11 15:00:18 Autoreloading
┌ Warning: 2024-01-11 15:00:24 Genie.WebChannels.ChannelNotFoundException("DGTLANQRJKSGROTTQTOIQGXTQUNRWRWT")
└ @ Genie.WebChannels ~/.julia/packages/Genie/DS14R/src/WebChannels.jl:251
┌ Warning: 2024-01-11 15:00:24 Genie.WebChannels.ChannelNotFoundException("DGTLANQRJKSGROTTQTOIQGXTQUNRWRWT")
└ @ Genie.WebChannels ~/.julia/packages/Genie/DS14R/src/WebChannels.jl:251
[ Info: 2024-01-11 15:00:24 uploaded
[ Info: 2024-01-11 15:00:24 finished