Docs: update watch task in CONTRIBUTING.md

Close gh-5331
This commit is contained in:
Timmy Willison 2023-09-20 18:10:57 -04:00 committed by GitHub
parent 09972bcc68
commit 77d6ad7172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.