Skip to content

Commit 3834465

Browse files
committed
add pixi watch command
1 parent 9021faf commit 3834465

File tree

4 files changed

+13324
-13173
lines changed

4 files changed

+13324
-13173
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# project/repo specific
2+
conf.py
23
advanced/backends/*.bin
34
scipy-tutorial/dask-report-large-chunk.html
45
mydask.png

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,24 +45,20 @@ pixi run tutorial
4545

4646
### Building the Documentation Locally
4747

48-
To build and serve the tutorial website locally as a development server:
49-
50-
1. Build the Jupyter Book:
48+
To build and serve the tutorial website locally with live reload:
5149

5250
```bash
53-
pixi run build
51+
pixi run watch
5452
```
5553

56-
2. Serve the built site locally:
54+
This watches for changes, rebuilds, and serves at http://localhost:8000.
55+
56+
To build without serving:
5757

5858
```bash
59-
pixi run python -m http.server --directory _build/html
59+
pixi run build
6060
```
6161

62-
Then visit http://localhost:8000 in your browser.
63-
64-
Note: The `build` command does not have live rebuilding. You'll need to re-run `pixi run build` after making changes to see updates.
65-
6662
## Contributing
6763

6864
Contributions are welcome and greatly appreciated! See our [CONTRIBUTING.md](./CONTRIBUTING.md) document.

0 commit comments

Comments
 (0)