Detects the storybookBaseDir option as relative path from the Git repository root to the current working directory.
Uses fs.watch to track changes to the Chromatic config file.
The current configuration and config suggestions are synced via SharedState so it's accessible from the manager UI.
If the detected storybookBaseDir differs from the configured value, it is included in suggestions.
The configuration and suggestions aren't used right now, that's left for a follow-up PR.
📦 Published PR as canary version: 1.1.9--canary.175.e080b65.0
:sparkles: Test out this PR locally via:
```bash
npm install @chromatic-com/storybook@1.1.9--canary.175.e080b65.0
# or
yarn add @chromatic-com/storybook@1.1.9--canary.175.e080b65.0
```
storybookBaseDir
option as relative path from the Git repository root to the current working directory.fs.watch
to track changes to the Chromatic config file.configuration
and configsuggestions
are synced via SharedState so it's accessible from the manager UI.storybookBaseDir
differs from the configured value, it is included insuggestions
.The configuration and suggestions aren't used right now, that's left for a follow-up PR.
📦 Published PR as canary version:
1.1.9--canary.175.e080b65.0
:sparkles: Test out this PR locally via: ```bash npm install @chromatic-com/storybook@1.1.9--canary.175.e080b65.0 # or yarn add @chromatic-com/storybook@1.1.9--canary.175.e080b65.0 ```