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

Cleanup application commands between each executions #96

Merged
merged 2 commits into from
Jul 8, 2022

Conversation

theofidry
Copy link
Collaborator

Fixes #60

@theofidry theofidry merged commit 0b5068c into bamarni:master Jul 8, 2022
@theofidry theofidry deleted the feature/multi-scripts branch July 8, 2022 07:32
@halloei
Copy link

halloei commented Jul 8, 2022

Thank you!

theofidry added a commit that referenced this pull request Jul 10, 2022
Closes #62

Re-using the existing application to run the command in the sub-namespace is having another side-effect (besides potentially registering commands which we already are cleaning up since #96) which is that plugins are not re-loaded.

As a result if a plugin is registered in a namespace, it will not be loaded at all hence all the commands it registers will not be available
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.

Warning appears if multiple namespaces contain the same custom Composer script name
2 participants