(posted on Developers and API since this plugin is only useful for developers)
I made this for me, but thought other developers might find it useful:
What it does is that if you have a plugin with a
.git directory or a
.hotreload file in it, then it will be automatically watched for changes to the
styles.css, and after a debounce period, the target plugin will be reloaded in Obsidian (by first disabling and then re-enabling it).
So instead of having to keep reloading Obsidian or toggling your plugins manually, you can just save and/or rebuild your plugin, and have the update in Obsidian almost instantly.
To install the plugin, just clone the repo (or unpack the .zip release) into your vault’s plugins directory. Then activate it from the “Community Plugins” tab, like any other plugin.