Hot reload
At startup, Klack loads its built-in plugins, then scans ~/.klack/plugins/*.{ts,tsx,js,jsx}. TypeScript and JavaScript modules are bundled in memory, so no generated files appear beside your source.
- Changes, additions, and deletions trigger a new plugin set.
- Current plugin resources are cleaned up before the replacement set starts.
- Every Slack window receives the update.
- If compilation fails, Klack logs the error and keeps the last working set active.
Use a different plugin directory
KLACK_PLUGIN_DIR="$HOME/code/slack-plugins" open /Applications/Slack.appThe environment variable must be present in the process that launches Slack.