Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight npm run watch #9

Closed
wants to merge 1 commit into from
Closed

Highlight npm run watch #9

wants to merge 1 commit into from

Conversation

EdmondChuiHW
Copy link

@EdmondChuiHW EdmondChuiHW commented Mar 5, 2024

Summary

There's a watch script in package.json that rebuilds automatically upon file changes.

Example usage in dev

  • python3 -m http.server 8000 --directory out/Default/gen/front_end in the one terminal;
  • npm run watch in another

It's not hot-reload, but it's an improvement from running npm run build on each file save.

Upstreaming plan

  • This commit should be sent as a patch to the upstream devtools-frontend repo. I've reviewed the contribution guide.
  • This commit is React Native-specific and cannot be upstreamed.

@EdmondChuiHW EdmondChuiHW closed this by deleting the head repository Mar 6, 2024
EdmondChuiHW added a commit that referenced this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants