mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Docs: update watch task in CONTRIBUTING.md
Close gh-5331
This commit is contained in:
parent
09972bcc68
commit
77d6ad7172
@ -126,10 +126,10 @@ This will only run the "css" module tests. This will significantly speed up your
|
||||
|
||||
#### Loading changes on the test page
|
||||
|
||||
Rather than rebuilding jQuery with `grunt` every time you make a change, you can use the included `grunt watch` task to rebuild distribution files whenever a file is saved.
|
||||
Rather than rebuilding jQuery with `npm run build` every time you make a change, you can use the included watch task to rebuild distribution files whenever a file is saved.
|
||||
|
||||
```bash
|
||||
$ grunt watch
|
||||
$ npm start
|
||||
```
|
||||
|
||||
Alternatively, you can **load tests as ECMAScript modules** to avoid the need for rebuilding altogether.
|
||||
|
Loading…
Reference in New Issue
Block a user