You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,27 @@ For local testing of the current tree use:
51
51
52
52
`sensible-browser build/html/index.html`
53
53
54
+
### Live-reload local development
55
+
56
+
To iterate on documentation without manually rebuilding and refreshing the browser, use [`sphinx-autobuild`](https://github.com/sphinx-doc/sphinx-autobuild).
57
+
It watches the source files, rebuilds incrementally on save, and serves the result with automatic browser reload.
58
+
59
+
`sphinx-autobuild` is installed as part of `requirements.txt`.
60
+
Start the live server with:
61
+
62
+
```
63
+
make serve
64
+
```
65
+
66
+
Then open `http://localhost:2022` in a browser.
67
+
68
+
The `serve` target binds to `0.0.0.0:2022` by default (a little ROS 2 vibe) so the server is reachable through devcontainer / port forwarding.
Copy file name to clipboardExpand all lines: source/Concepts/Basic/About-Command-Line-Tools.rst
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,23 @@ Different :doc:`ROS_DOMAIN_ID <../Intermediate/About-Domain-ID>` values will res
85
85
86
86
You can run ``ros2 daemon --help`` for more options for interacting with the daemon, including commands to start, stop, or check the status of the daemon process.
87
87
88
+
Running the Daemon in the Foreground
89
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
90
+
91
+
For debugging purposes, it can be useful to run the ROS 2 daemon in the foreground so that its output is printed directly to stdout and stderr.
92
+
This can be done using the ``_ros2_daemon`` command, which is the entry point for the daemon process itself:
0 commit comments