Skip to content

Don't watch the build docs dir - #484

Merged
athackst merged 1 commit into
mainfrom
fix/rebuild-loop
Feb 17, 2023
Merged

athackst merged 1 commit into
mainfrom
fix/rebuild-loop

Conversation

@athackst

@athackst athackst commented Feb 17, 2023

Copy link
Copy Markdown
Owner

Closes #483

Before 40415a3 the plugin was creating a new temporary directory on every reload so built artifacts weren't marked as changed. After the update, the same temporary directory is used. This caused built artifacts to trigger a file change event.

This fix unwatches the build docs dir so those changes don't fire rebuild events. Now only file changes in the source directory should trigger rebuilds as expected.

@github-actions github-actions Bot added the bug Something isn't working label Feb 17, 2023
@athackst
athackst merged commit fb0f3d1 into main Feb 17, 2023
@athackst
athackst deleted the fix/rebuild-loop branch February 17, 2023 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Infinite reload loop in version 2.2.0

1 participant