In that PR the lw.comm-server dependency serialport is now at the latest major release, this requires a LW4 change since the returned port list format is slightly different.
socket.io is now at V4.x (the latest major version), the client version is simply updated to match the server version.
Finally I am using this opportunity for a functional change to how LW4 handles clients (re)connecting while it is running a job.
Previously when you connect to a server running a job LW4 would receive a runningJob packet and display it's contents in a browser popup, the contents being the entire gcode for the job.
This could be disastrous for browser performance/stability if you have a long and huge (raster) job and your client suspends or otherwise briefly loses it's connection a few times.
So LW4 now ignores runningJob data when the server sends it, but will pop-up the new runningJobStatus message that the updated lw,comm-server sends on reconnects, with a simple job summary rather than the entire gcode.
I've not done anything about versions, but they would need bumping. Sorry that this is several fixes in one PR, but I think they are sufficiently closely related to go together.
This PR is made in conjunction with lw.comm-server PR#99
serialport
is now at the latest major release, this requires a LW4 change since the returned port list format is slightly different.socket.io
is now at V4.x (the latest major version), the client version is simply updated to match the server version.Finally I am using this opportunity for a functional change to how LW4 handles clients (re)connecting while it is running a job.
runningJob
packet and display it's contents in a browser popup, the contents being the entire gcode for the job.runningJob
data when the server sends it, but will pop-up the newrunningJobStatus
message that the updated lw,comm-server sends on reconnects, with a simple job summary rather than the entire gcode.I've not done anything about versions, but they would need bumping. Sorry that this is several fixes in one PR, but I think they are sufficiently closely related to go together.