Skip to content

Cleanup application commands between each executions#96

Merged
theofidry merged 2 commits into
bamarni:masterfrom
theofidry:feature/multi-scripts
Jul 8, 2022
Merged

Cleanup application commands between each executions#96
theofidry merged 2 commits into
bamarni:masterfrom
theofidry:feature/multi-scripts

Conversation

@theofidry
Copy link
Copy Markdown
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
Copy Markdown

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