netlify dev
Local dev server
Options
Name | Description |
---|---|
-c, --command <command> | Command to run |
-d, --dir <dir> | Dir with static files |
-f, --functions <functions> | Specify a functions folder to serve |
-l, --live | Start a public live session |
-o, --offline | Disables any features that require network access |
-p, --port <port> | Port of netlify dev |
--debug | Print debugging information |
--httpProxy <httpProxy> | Proxy server address to route requests through |
--httpProxyCertificateFilename <httpProxyCertificateFilename> | Certificate file to use when connecting using a proxy server |
--framework <framework> | Framework to use. Defaults to #auto which automatically detects a framework |
--targetPort <targetPort> | Port of target app server |