humanmade / altis-documentation

Documentation module for Altis
https://docs.altis-dxp.com/
6 stars 3 forks source link

Replace `composer serve` with `composer server start` #409

Closed mikelittle closed 2 years ago

mikelittle commented 2 years ago

There are a couple of places in the developer documentation which refer to composer serve as a valid command to start local server.

In fact, it only works because composer will run the a non-conflicting command which starts with what you type. So when you type composer serve it can safely assume you mean composer server. Additionally, when you run composer server without any sub-commands it defaults to composer server start anyway.

I'd rather we documented the command correctly rather than rely on a couple of coincidences that allow it to work.

Files:

In all cases composer serve should be replaced with composer server start