@adobe/aio-cli-plugin-app-dev
v1.1.1
Published
run a localhost dev server to serve actions locally
Downloads
13,226
Maintainers
Keywords
Readme
aio-cli-plugin-app-dev
This command is a new way of looking at local development. This uses the approach of a simulator, rather than an emulator.
Commands
aio app dev
Run your App Builder app locally
USAGE
$ aio app dev [-v] [--version] [-o] [-e <value>]
FLAGS
-e, --extension=<value> Run only a specific extension, this flag can only be specified once
-o, --open Open the default web browser after a successful run, only valid if your app has a front-end
-v, --verbose Verbose output
--version Show version
DESCRIPTION
Run your App Builder app locally
See code: src/commands/app/dev/index.js
Overriding the hostname and port
By default the hostname will be localhost
and the default port is 9080
. You can override these values by setting these environment variables:
SERVER_HOST
SERVER_DEFAULT_PORT
The command will try to use the default port, if it is not available it will find an open port to use instead.
Contributing
Contributions are welcomed! Read the Contributing Guide for more information.
Licensing
This project is licensed under the Apache V2 License. See LICENSE for more information.