Skip to content

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.log inside your plugin folder

Hot reload tips

  • Use Deno --watch or a Node watcher to restart on file changes
  • Keep onUnload idempotent so restarts are clean

Logs

  • The runtime appends to plugin.log and rotates when large
  • Use console.log in 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