You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@layershifter I've noticed after the latest round of build changes that editing an example source file in watch mode does not work correctly. The exampleSources.json gets rewritten with only a single example entry, so all the other examples are missing. Perhaps you could take a look?
Steps
yarn start
Navigate to /elements/button
See all examples are rendered and exampleSources.json includes all examples
Edit ButtonExampleButton.js
🐞 There is no HMR or page reload
🐞 exampleSources.json now looks like this:
{
"elements/Button/Types/ButtonExampleButton": "import React from 'react'\nimport { Button } from 'semantic-ui-react'\n\nconst ButtonExampleButton = () => <Button>Click Here!</Button>\n\nexport default ButtonExampleButton\n"
}
Initial Load
After editing ButtonExampleButton.js
The text was updated successfully, but these errors were encountered:
@layershifter I've noticed after the latest round of build changes that editing an example source file in watch mode does not work correctly. The
exampleSources.json
gets rewritten with only a single example entry, so all the other examples are missing. Perhaps you could take a look?Steps
yarn start
Navigate to /elements/button
See all examples are rendered and
exampleSources.json
includes all examplesEdit ButtonExampleButton.js
🐞 There is no HMR or page reload
🐞
exampleSources.json
now looks like this:Initial Load
After editing ButtonExampleButton.js
The text was updated successfully, but these errors were encountered: