Skip to content

Previewing local BCD in Local Content #269

Discussion options

You must be logged in to vote

Hey there! Unfortunately there isn't really a (reasonable) way to attach the development copy of BCD to Yari. BCD includes a build step that must be run every time that BCD changes, which takes about a minute or two to complete (it's not intended to run so frequently). Additionally, Yari is not configured for live updates of BCD since it's an imported package. There's been discussion of adding a minimal render to BCD PRs, but that's still in the initial discussion stages.

If you'd still like to see the local BCD changes, this would be the process:

cd browser-compat-data
npm run build # Build a new BCD version
cd ../mdn-content
npx install-local ../browser-compat-data/build # Install the n…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dletorey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants