Skip to content

Watch for file changes in Gatsby? #18

Description

@benallfree

Hello, I'm really enjoying using your remark plugins with Gatsby.

One thing I've noticed is that Gatsby is not aware that changes to the dependent file should rebuild the mdx.

Example:

// Hello.js
console.log('Hello world!')
// test.mdx

```js file=./Hello.js
```

Changing the contents of Hello.js should cause test.mdx to rebuild, but unfortunately it does not. Same problem with remark-codesandbox.

Any thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions