kriasoft / kriasoft/react-firebase-starter

Relay compiler --watch and yarn start

Open
#258 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.5k
Forks
752
PR merge metrics
No merged PRs in 30d

Description

It is a little bit strange, that I need to run `yarn relay` on each iteration or run the watch process in another tab. So, I made such start command:

`node ./setup && concurrently \"PORT=4000 react-scripts start\" \"relay-compiler --src ./src --schema ./src/schema.graphql --watch\"`

Is this a good way? And should I create PR?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the existing `yarn relay` and `yarn start` workflow with the proposed command, using `./setup`, `./src`, and `./src/schema.graphql` as the mentioned entry points. Done means deciding whether one start command should run the React and Relay watch processes together and defining the project change needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, javascript, react
Domain
build-system, developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.