Skip to content

Commit

Permalink
docs(contribution): alternative way to test (#1506)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored and evilebottnawi committed Apr 9, 2019
1 parent 99e8db0 commit f5ea174
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions CONTRIBUTING.md
Expand Up @@ -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/<ID>/head"
```
```json
"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 f5ea174

Please sign in to comment.