It takes too much time to write changes to a custom module and check the result in Botpress.
1) We point to the source folder, and it's automatically imported into botpress on changes
2) We point to a tgz file, and botpress is reloaded with the module whenever it's updated.
There is another issue : Right now, closing Botpress and re-opening it, means you lose all your current session state. We could have Botpress re-open at the last page it was at.
An alternative option would be to have a menu function that "exports" a bot / global code into a custom module template or fetches its actions and hooks. This might cover 70% of use cases, but would be seriously convenient because you could test your changes live in the studio.
There are many improvements we can do here!
It takes too much time to write changes to a custom module and check the result in Botpress.
1) We point to the source folder, and it's automatically imported into botpress on changes 2) We point to a tgz file, and botpress is reloaded with the module whenever it's updated.
There is another issue : Right now, closing Botpress and re-opening it, means you lose all your current session state. We could have Botpress re-open at the last page it was at.
An alternative option would be to have a menu function that "exports" a bot / global code into a custom module template or fetches its actions and hooks. This might cover 70% of use cases, but would be seriously convenient because you could test your changes live in the studio.