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

fix(docz-core): copy user's doczrc.js to .docz/doczrc.js before running commands #1175

Merged
merged 3 commits into from
Oct 14, 2019

Conversation

rakannimer
Copy link
Contributor

@rakannimer rakannimer commented Oct 14, 2019

Makes sure the doczrc file is in the expected location before the project config is parsed.

Currently, when the config flag is passed to docz, dev and build commands work as expected but the first run logs an error in the console warning about a missing doczrc.js file.

This PR fixes this issue and adds an e2e test for using docz with a custom config location.

@rakannimer rakannimer merged commit de5efa5 into master Oct 14, 2019
@rakannimer rakannimer deleted the copy-docz-rc-before-loading-config branch October 18, 2019 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant