netlify dev

Local dev server

Options

NameDescription
-c, --command <command>Command to run
-d, --dir <dir>Dir with static files
-f, --functions <functions>Specify a functions folder to serve
-l, --liveStart a public live session
-o, --offlineDisables any features that require network access
-p, --port <port>Port of netlify dev
--debugPrint 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