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

bug(admin,gql): Fix startup behavior in dev mode #15372

Merged
merged 1 commit into from
May 24, 2023
Merged

Conversation

dschom
Copy link
Contributor

@dschom dschom commented May 24, 2023

Because

  • Nest APIs could fail to start because main.js wasn't found
  • NX work changed structure of dist folder

This pull request

  • Adjust the path to point to the new location of main.js

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Other information (Optional)

I think this went unnoticed because it would only become a failure after the dist folder was cleaned out.

IIRC to reproduce the issue on main, run nx run fxa-gql-api:build then run nx run fxa-gql-api:start.

Because:
- Nest apis could fail to start because main.js wasn't found
- NX work changed structure of dist folder

This Commit:
- Adjust the path to point to the new location of main.js
@dschom dschom requested a review from julianpoy May 24, 2023 18:32
@dschom dschom requested a review from a team as a code owner May 24, 2023 18:32
@dschom dschom merged commit c7d9e3e into main May 24, 2023
@dschom dschom deleted the fix-gql-startup branch May 24, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants