clea serve

Build the application and launch a server with hot reload

Options

clea help serve

--verbose (-V) verbose mode.

--target [env] build the application with the targeted environment (defaults to: development). Details.

--host [host] host to listen to (defaults to: localhost). Can be set to 0.0.0.0 to access on local network.

--port [port] the port to serve the application (defaults to: 8080).

--base-href [url] base url for the application being built (defaults to: /).

--https flag to turn on HTTPS.

--progress log progress to the console while building.

--api [db] enable the mock API on the specified database JSON file (defaults to: db.json). Details.

--api-custom-routes [config] add custom Express routes (defaults to: api.conf.js). Details.

--proxy-config [config] proxy configuration file. Details.

--merge-config [config] merge the given webpack configuration with the existing one.

--override-config [config] override the existing webpack configuration by the given one.

results matching ""

    No results matching ""