-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
With the current implementation, development requires either:
- manually editing the plugin next to a running instance of ShadowBot; or
- frequently publishing the plugin to
npmand using the update functionality.
Since the core supports loading plugins from a local folder on the same machine as a running instance of ShadowBot, this allows us to override any external plugins with a local copy.
Using this functionality we should create a plugin (shadowbot-plugin-live) that allows:
- Cloning a remote repository (via
git) to a local folder (using thedataPathoption). - Creating a fresh plugin ready for development.
- Launching an instanced copy of CodeBox for live editing of the plugin.
- Comitting the updated/modified code back to the remote repository.
- This could be quite complicated and might require managing a set of credentials; maybe we can add something to CodeBox or maybe CodeBox already supports something similar.
- Removal of the local copy of the plugin when finished.