Skip to content

Commit

Permalink
- update README for build command
Browse files Browse the repository at this point in the history
  • Loading branch information
horuskol committed Jul 7, 2023
1 parent d4200c5 commit 7b18d60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 7b18d60

Please sign in to comment.