Starts the node application server that handles incoming requests and server side rendering.
Configuration information for a wildcat project lives in a wildcat.config.js
in the project's root directory. Everything is configurable, but by default wildcat loads sensible defaults. For a brand new project, we recommend copying the example project and tweaking from there.
Certain features of wildcat can be enabled and disabled via environment variables.
Enable code coverage generation with Istanbul. Defaults to false.
Setting DEBUG=wildcat
logs a memory profile to a file and allows you to troubleshoot memory issues with your app via the
chrome development tools.
Set the hostname for the app server. Defaults to localhost.
Log level value from 0 (no logs) to 4 (debug level). Defaults to 4.
Use webpack to minify JavaScript assets. Defaults to true if NODE_ENV=production
Setting to "production" minifies and builds the project while "development" enables hot reloading. Defaults to "development".
Port to run wildcat app server. Defaults to 3000
Generate a Service Worker. By default a service worker
is generated if NODE_ENV=production
. Set SERVICE_WORKERS
to override the default behavior.
Set the hostname for the static server. Defaults to localhost.
Port to run wildcat static server. Defaults to 4000.