Skip to content

Commit 9756936

Browse files
committed
DOC-026: Allow --watch flag to be passed to build, instead of -w.
1 parent 104b974 commit 9756936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [ "$(which sphinx-build > /dev/null 2>&1; echo $?)" -eq 1 ]; then
1111
fi
1212

1313
# Watch logic.
14-
if [ "$1" == "-w" ]; then
14+
if [ "$1" == "-w" -o "$1" == "--watch" ]; then
1515

1616
# Sphinx-autobuild installation check.
1717
if [ "$(which sphinx-autobuild > /dev/null 2>&1; echo $?)" -eq 1 ]; then

0 commit comments

Comments
 (0)