Development workflow
Fast iteration while building plugins.
- Start Dot X so the local Socket.IO server is available
- Run your plugin with Deno/Node from its folder
- Watch for logs in the app or in
plugin.loginside your plugin folder
Hot reload tips
- Use Deno
--watchor a Node watcher to restart on file changes - Keep
onUnloadidempotent so restarts are clean
Logs
- The runtime appends to
plugin.logand rotates when large - Use
console.login your plugin for easy tracing
Connection states
waitForConnection()blocks until the SDK registers with the host- Expose a simple readiness check in your plugin logs