Skip to main content

RELOAD EXTENSIONS WITHOUT RESTART

This guide shows you how to reload pulled extensions on a running swamp serve without restarting the process.

Start the server with hot-reload enabled

swamp serve --hot-reload

The server writes a PID file to .swamp/serve.pid on startup.

Pull the updated extension

swamp extension pull @name/extension --force

Use --force to overwrite the existing bundle if the extension is already installed.

Trigger the reload

swamp serve reload

The server reloads all pulled extension bundles. Subsequent requests use the updated code.

  • Hot Reload — full reference for the --hot-reload flag and reload behavior
  • Serve Flags — all swamp serve flags