mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-14 21:04:04 +01:00
fix(e2e): rewrite_config only writes the file
The daemon watches the configuration file it was started with, so the extra replace-configuration after each write hid the reload that the scenario is meant to check.
This commit is contained in:
1 parent
30b73be36e
commit
2f1df7decd
1 file changed
+1
-2
@@ -217,9 +217,8 @@ class WindowsPlatform:
|
||||
def rewrite_config(self, config: dict) -> None:
|
||||
local = self._out / "komorebi.json"
|
||||
local.write_text(json.dumps(config, indent=2))
|
||||
# the daemon watches the file it was started with and reads it again
|
||||
self._agent.put_file(local, CONFIG_PATH)
|
||||
# the daemon reads the file again when told to: it does not watch it
|
||||
self.komorebic("replace-configuration", CONFIG_PATH)
|
||||
|
||||
def exe_id(self, program: str) -> str:
|
||||
# kfw names the exe of a window with its extension
|
||||
|
||||
Reference in new issue
Block a user