Skip to content

Commit

Permalink
docs(contribution): alternative way to test
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Sep 21, 2018
1 parent d0725c9 commit baa7491
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,15 @@ 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/<ID>/head"
"webpack-dev-server": "<PATH>"
```

`<ID>` is the ID of the pull request.
`<PATH>`:

- `github:webpack/webpack-dev-server#pull/<ID>/head`
where `<ID>` 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`.

Expand Down

0 comments on commit baa7491

Please sign in to comment.