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

envio dev doesn't recognise changes to imported files to the event handlers #277

Open
DenhamPreen opened this issue Oct 22, 2024 · 0 comments
Labels
Bug Something isn't working P6 Next sprint or next, next sprint

Comments

@DenhamPreen
Copy link
Contributor

DenhamPreen commented Oct 22, 2024

Describe the bug
When running envio dev the state diff code doesn't recognise changes to files that are imported into the eventHandler.* file

To Reproduce
Steps to reproduce the behavior:

  1. Create an indexer
  2. Write a function in a seperate file outside of eventhandler.*
  3. Import that function into a handler
  4. Run `envio dev
  5. Make changes to the seperate file
  6. Run envio dev - you'll notice that it doesn't start re-indexing

Expected behavior
Use esbuild to reliably identify changes to the full/relevant import tree in eventhandler files

Additional context
This PR implemented the solution however became stagnant as the creator changed with the repo migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working P6 Next sprint or next, next sprint
Projects
None yet
Development

No branches or pull requests

1 participant