08 Development loop

1. Edit files on your computer.
2. Upload them through the File Manager (/files). You don't need to remove the card.
  - plugin.js changes: reload /plugins. Files are served with an ETag and Cache-Control: no-cache, so the browser always picks up the new version.
  - device.json catalog changes: take effect the next time you open the catalog. It is re-read every time.
  - device.json events changes: take effect after you leave File Transfer mode, open Home -> Plugins, toggle the Plugins setting, or restart.
3. Watch the serial log over USB (for example pio device monitor). Tags: [PCAT] catalog, [PEVT] events, [PHTP] plugin HTTP/files, [WEB] web endpoints.

Continue with manifest.json.
‹ PreviousReader file (.txt)Next ›