archival run

Options

-p, --port <1024>

choose a different port to run the local server on. Defaults to 1024

-h, --help

print help for this command.

Arguments

[path/to/archival-site]

optionally specify a path to an archival site. By default will run in the current working directory.


This command runs a local static server and watches your archival site for changes. The site will be automatically rebuilt whenever files change.

Note that this command should never be used to serve a website in production. Archival generates static websites, so to serve an archival site, just run archival build and run a static web server that points to the dist folder, or upload that dist folder to a static host (or use the archival editor to automate this process).