Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI Sync runs every instance of the plugin #46

Open
motionsuggests opened this issue Nov 1, 2022 · 4 comments
Open

CLI Sync runs every instance of the plugin #46

motionsuggests opened this issue Nov 1, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@motionsuggests
Copy link
Contributor

Running CLI Sync mode runs every instance of the plugin.

When I have two or more instances of the plugin in my docusaurus.config.js and I use the CLI Sync mode with
docusaurus download-remote-fakeRepoOne it actually runs every instance of the plugin.

Related to:
#45

@RDIL
Copy link
Member

RDIL commented Nov 2, 2022

Will fix this later today.

@RDIL RDIL self-assigned this Nov 2, 2022
@RDIL RDIL added the bug Something isn't working label Nov 2, 2022
@RDIL
Copy link
Member

RDIL commented Nov 7, 2022

After doing some investigating, it appears this only happens if noRuntimeDownloads is disabled. Can you check if that is the case in your config?

@motionsuggests
Copy link
Contributor Author

Setting noRuntimeDownloads: true does fix the issue.

@RDIL
Copy link
Member

RDIL commented Nov 10, 2022

Worth noting that this is still a bug, one which will require a pretty ugly hack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants