firebase-http-server is a simple command-line http server that understands the firebase.json configuration file. Perfect for development so you don't have to deploy to Firebase hosting every time.
Based on http-server.
npm. If you don't have
curl https://npmjs.org/install.sh | sh
Once you have
npm install firebase-http-server -g
This will install
firebase-http-server globally so that it may be run from the command line.
firebase-http-server [config_path] [options]
[config_path] defaults to
Now you can visit http://localhost:8080 to view your server.
-p Port to listen for connections on (defaults to 8080)
-a Address to bind to (defaults to '0.0.0.0')
--root Overrides the
firebase.json root public directory to serve.
--silent In silent mode, log messages aren't logged to the console.
--help Displays a list of commands and exits.