I had trouble with it too.
What I found so far is to do 2 DBUS calls:
-
call org.kde.kwin.Scripting.unloadScript name_of_your_script
-
Update/reinstall the extensions
-
call org.kde.kwin.Scripting.start
KWin reconfigure
had no effect for me, but “start” reloaded the new new extension nicely.
You can see an example here: https://github.com/ragusa87/kde-tilling-on-drag/blob/main/Makefile