Skip to content

infinite loop is back #1359

@drammock

Description

@drammock

since merging #1330 the infinite loop is back. nox -s docs-live says this after the first build:

[I 230620 17:00:42 server:335] Serving on http://127.0.0.1:58219
[I 230620 17:00:42 handlers:62] Start watching changes
[I 230620 17:00:42 handlers:64] Start detecting changes
[I 230620 17:00:43 watcher:110] Running task: build (delay: None)
[sphinx-autobuild] Detected change: /opt/pydata-sphinx-theme/docs/api/index.rst

It's detecting a change in the output folder which sphinx_autobuild is supposed to ignore automatically: https://github.com/executablebooks/sphinx-autobuild/blob/ea4d04f4f68f564e65ac21843d4839ce24a6e0ae/src/sphinx_autobuild/cli.py#L38-L40 (!)

passing --re-ignore=api|locale doesn't work because the value gets re.escaped 🤦🏻. Hacking sphinx-theme-builder locally to not do the escaping it still doesn't work works, upstream PR opened (pradyunsg/sphinx-theme-builder#44). Possibly related to sphinx-doc/sphinx-autobuild#112 and sphinx-doc/sphinx-autobuild#123.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions