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

Update cache on composer.json change #32

Closed
jonatandorozco opened this issue Jan 28, 2021 · 2 comments
Closed

Update cache on composer.json change #32

jonatandorozco opened this issue Jan 28, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jonatandorozco
Copy link

The plugin works correctly until I install a new package and use any code from the package saying the object doesn't exists

Could be possible to reload files when composer.json changes?

@tm1000
Copy link
Collaborator

tm1000 commented Jun 28, 2021

Ideally this would have to run after you've updated composer.json and run composer update. Looks like we need to hook into workspace/didChangeWatchedFiles for this to work (which should re-analyze)

@tm1000
Copy link
Collaborator

tm1000 commented Jun 29, 2021

Requires vimeo/psalm#6014

@tm1000 tm1000 self-assigned this Jun 29, 2021
@tm1000 tm1000 added the enhancement New feature or request label Jun 29, 2021
@tm1000 tm1000 added this to the 2.0 milestone Jun 29, 2021
@tm1000 tm1000 mentioned this issue Jun 29, 2021
17 tasks
@tm1000 tm1000 closed this as completed Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants