Skip to content

Commit 2e373de

Browse files
Update build-overview.md
This is a followup [this PR](rescript-lang/rescript#4074)
1 parent aed3f0c commit 2e373de

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/build-overview.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ Add `-w` to keep the built-in watcher running. Any new file change will be picke
3838

3939
**Note 2**: The watcher clears the screen with each rebuild. To suppress this, set the environment variable BS_WATCHNOCLEAR to some truthy value: `BS_WATCHNOCLEAR=1 npm start`
4040

41+
**Note 3**: If you are developing across multiple devices, you may find the `-ws` configuration useful in order to have live-reloading across the network. Possible configurations are:
42+
- `bsb -make-world -w -ws _` (default)
43+
- `bsb -make-world -w -ws 0.0.0.0:9999`
44+
- `bsb -make-world -w -ws 5000`
45+
4146
**To build only yourself**, use `bsb -make`.
4247

4348
`bsb -help` to see all the available options.

0 commit comments

Comments
 (0)