Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

en: document cli:buildError #1704

Merged
merged 1 commit into from
Dec 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions en/guide/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ You can use `--help` with any command to get detailed usage. Common arguments ar
- **`--spa` or `-s`:** Runs command in SPA mode and disables server side rendering.
- **`--unix-socket` or `-n`:** specify the path to a UNIX socket.

#### Hooks

Hook | Objective
---------------------|----------------------------------------------------------------------------------------------------------------------------------------
`cli:buildError` | Captures build errors in dev mode and display them on loading screen

#### Using in package.json

You should put these commands in the `package.json`:
Expand Down