--- a/svghmi/svghmi.py Fri Oct 22 12:48:22 2021 +0200
+++ b/svghmi/svghmi.py Fri Oct 29 18:20:03 2021 +0200
@@ -523,7 +523,7 @@
build_path = self._getBuildPath()
target_path = os.path.join(build_path, target_fname)
- hash_path = os.path.join(build_path, "svghmi.md5")
+ hash_path = os.path.join(build_path, "svghmi_"+location_str+".md5")
self.GetCTRoot().logger.write("SVGHMI:\n")
@@ -608,6 +608,9 @@
""")
target_file.close()
+ # In case no SVG is given, watchdog is useless
+ svghmi_options["enable_watchdog"] = False
+
res += ((target_fname, open(target_path, "rb")),)
svghmi_cmds = {}