Skip to content

Commit

Permalink
[README] Document the Watching section
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Nov 22, 2023
1 parent 497b28f commit 6037db4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,17 @@ This compiles [./serviceworker.ts](./serviceworker.ts) to [./serviceworker.js](.

## Watching

TBD
The [./build.js](./build.js) script enables you to [Watch](https://www.typescriptlang.org/docs/handbook/configuring-watch.html#handbook-content) the source code. Since the build is split into two separate parts you have to watch them separately for now:

To watch the `main` part:
```console
$ npm run watch -- main
```

To watch the `serviceworker` part:
```console
$ npm run watch -- serviceworker
```

# Filter Development

Expand Down

0 comments on commit 6037db4

Please sign in to comment.