Serves a specific folder instead of the current directory, handy for previewing a built SPA before deploying. The --directory flag points the document root at dist while the process runs from anywhere. Add --bind 127.0.0.1 to keep it local only.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.