Skip to content

Commit

Permalink
Start watching more resources when using make dev
Browse files Browse the repository at this point in the history
- Also watch the top-level `/src` directory
- Extend the list of considered filename extensions to Markdown, HTML,
  and Python
  • Loading branch information
amotl committed Jul 27, 2023
1 parent f6aa0ce commit cc82c37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Changes
Unreleased
==========

- Start watching more resources when using ``make dev``

- Also watch the top-level ``src`` directory
- Extend the list of considered filename extensions to Markdown and HTML


2.1.0 - 2022/07/06
==================
Expand Down
2 changes: 1 addition & 1 deletion common-build/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ PYTHON = python3
PIP = $(PYTHON) -m pip
SPHINXBUILD = $(ENV_DIR)/bin/sphinx-build
SPHINXAUTOBUILD = $(ENV_DIR)/bin/sphinx-autobuild
AUTOBUILD_OPTS = --re-ignore '^(?!.+\.rst$$)' --open-browser --delay 0
AUTOBUILD_OPTS = --watch $(TOP_DIR)/src --re-ignore '^(?!.+\.(?:rst|md|mmd|html|css|js|py|conf)$$)' --open-browser --delay 0
BUILD_DIR = $(LOCAL_DIR)/.build
SPHINX_ARGS = . $(BUILD_DIR)
SPHINX_OPTS = -W -n
Expand Down

0 comments on commit cc82c37

Please sign in to comment.