update gcode to newly updated file

This commit is contained in:
saifullah-N
2023-01-28 10:34:27 +05:30
parent 10a63053da
commit 5f0b0dc56e
2 changed files with 3 additions and 3 deletions

View File

@@ -91,10 +91,10 @@ module.exports = {
},
reload: function(file) {
if (file != this.file) {
if (file == this.file) {
return;
}
console.log("reloaded :",file);
this.clear();
this.load(file);
},