From 7b18d60608fdba12ecc35d74399d39b3734031c0 Mon Sep 17 00:00:00 2001 From: Stuart Jones Date: Fri, 7 Jul 2023 14:44:03 +0930 Subject: [PATCH] - update README for build command --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 29d44c8..c2ee55d 100644 --- a/README.md +++ b/README.md @@ -104,13 +104,14 @@ Stop the services and remove any volumes used by them: ### Building and serving assets and content -To build any assets in your project: +To build any assets in your project. +By default, it runs the `npm run dev` command. However, you can substitute another command line script with the `BUILD_COMMAND` environment variable: ``` ./vendor/bin/pilot build ``` -To serve content as your develop. +To serve content as you develop. This command wraps the [PHP built-in webserver] and should not be used as a production webserver. The command automatically sets the host and port for the webserver, and accepts the root directory and router script arguments: