From f5ea174800523383dc7f1bfa8d39033265037270 Mon Sep 17 00:00:00 2001 From: Emanuele Date: Tue, 9 Apr 2019 11:09:02 +0100 Subject: [PATCH] docs(contribution): alternative way to test (#1506) --- CONTRIBUTING.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 222257ac81..45e44af8fd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -39,11 +39,16 @@ Pull requests often need some real-world testing. 1. In your `package.json`, change the line with `webpack-dev-server` to: -```json -"webpack-dev-server": "github:webpack/webpack-dev-server#pull//head" -``` + ```json + "webpack-dev-server": "" + ``` -`` is the ID of the pull request. + ``: + + - `github:webpack/webpack-dev-server#pull//head` + where `` is the ID of the pull request. + + - `file:../path/to/local/webapck-dev-server/fork` is the path to your local repo, just make sure you hit the correct path 2. Run `npm install`.