facebook / facebook/relay

Compiler in watch mode does not track changes in .graphql file

Open
#2,140 10 comments 5 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

For better dev experience will be cool if relay compiler recompile all files if catches changes in `schema.graphql` file.

Expected behavior:
1. Start compiler in watch mode `relay-compiler --src ./src --schema ./schema.graphql`
2. Change something in `schema.graphql` file
3. Should be called `CodegenRunner.compileAll` automatically without restarting `relay-compiler`

cc @kassens

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.