Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Browsersync for live reload #1145

Merged
merged 4 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/contributing/tooling.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

## npm scripts

| command | action |
| ---------------------- | ----------------------------------------------------------------------------------- |
| `npm start` | Runs the _default_ gulp task |
| `npm test` | Runs CSS linting |
| `npm build-gh-pages` | Build documentation with a base url that is suitable for publishing on github pages |
| `npm build-gh-release` | Runs `gulp zip` for publishing to github releases |
| command | action |
| -------------------------- | ----------------------------------------------------------------------------------- |
| `npm start` | Runs the _default_ gulp task |
| `npm test` | Runs CSS linting |
| `npm run build-gh-pages` | Build documentation with a base url that is suitable for publishing on github pages |
| `npm run build-gh-release` | Runs `gulp zip` for publishing to github releases |

## Gulp tasks

We use [gulp](https://gulpjs.com/) for automating common tasks.

To run a gulp task, run `./node_modules/.bin/gulp <task_name>` on the command line.
To run a gulp task, run `npx gulp <task_name>` on the command line.

| task | action |
| ------------ | ---------------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function cssFolder() {
}

async function createZip() {
const zip = await import('gulp-zip')
const { default: zip } = await import('gulp-zip')

return gulp
.src(
Expand Down
Loading