made my update in the code (like a console.log for example)
uninstall the script via the system settings page
run kpackagetool5 --type=KWin/Script -i ~/Downloads/forceblur
run qdbus org.kde.KWin /KWin reconfigure
activate the script via the system settings page
What I miss ?
My test is pretty simple, I just add a console.log and check if it’s added to my journalctl -f, the only moment it has worked it’s when I rename the kwin script
It seems, reconfigure only has an effect when some configuration changed. I reload a KWin script by disabling the script, reconfiguring, sleeping, enabling the script, and reconfiguring. I wrote a small helper script tools.bash for that. During development, I usually call ./tools.bash remove install reconfigure after a change I’d like to test. There might be more elegant ways but so far it works good enough for me.