From d0fb30e4d227b3e1e7672e3954add30108b1d8cf Mon Sep 17 00:00:00 2001 From: Edmond Chui <1967998+EdmondChuiHW@users.noreply.github.com> Date: Tue, 5 Mar 2024 23:12:37 +0000 Subject: [PATCH] highlight npm run watch --- README.md | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8889ccd7be5..ff369bc271d 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,25 @@ This repository is a fork of [ChromeDevTools/devtools-frontend](https://github.c source setup.sh ``` -### Build and run +### Build-and-run options -```sh -npm run build -# or npm run build-release -``` +1. Build continuously with a file watcher: + + ```sh + npm run watch + ``` + +1. Build with the default config once: + + ```sh + npm run build + ``` + +1. Build with the release config once: + + ```sh + npm run build-release + ``` This can then be served from a static web server to test locally: