Testing
Plugins run only inside Notch Monster. A plain browser tab has no host
bridge, so notch.ready() never resolves there.
npm run watchrebuildsdist/on every save.- In the app, go to Settings → Plugins → Developer mode and turn it on.
- Click Choose folder…, pick
dist/(the folder withmanifest.json), then click Install. - Settings → Your widgets → Add a widget → your plugin. It shows a DEV badge.
- After a rebuild, click ↻ Reload from folder. This serves the files fresh, re-reads the manifest and restarts your frames.
Checklist before submitting
-
npm run packpasses. - Works at
minSize, at the default size and at 12×6. - Looks right in a light theme and in a dark theme.
- Still useful with every permission denied, and no unhandled errors.
- Shows a clear state when offline (if you use
network), never an endless spinner. - Does no work while
visibilityisfalse. - Includes source maps if the code is bundled or minified.