Skip to content

Commit a9a19c9

Browse files
committed
only watch file.md itself
1 parent 906147b commit a9a19c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/revealjs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ eval "${CMD[@]}"
139139
}
140140

141141
if [[ $DAEMONIZE == 1 ]]; then
142-
browser-sync start -s $(dirname "$MD") -f $(dirname "$MD") --index "${MD%.*}.html" &
142+
browser-sync start -s $(dirname "$MD") -f "$MD" --index "${MD%.*}.html" &
143143
while true; do
144144
revealjs "${ARGS[@]}"
145145
inotifywait -e modify "$MD" || true

0 commit comments

Comments
 (0)