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

Remove NODE_ENV check in extensions auto reload #17102

Closed
rijkvanzanten opened this issue Jan 11, 2023 · 0 comments · Fixed by #21780
Closed

Remove NODE_ENV check in extensions auto reload #17102

rijkvanzanten opened this issue Jan 11, 2023 · 0 comments · Fixed by #21780

Comments

@rijkvanzanten
Copy link
Member

That check was added to avoid double reloading extensions in the source code dev mode powered by ts-node-dev, but it's causing some confusion elsewhere as NODE_ENV can be set to development for a range of different reasons.

I think we can drop the NODE_ENV flag check completely, but if not, lets make a Directus specific var check to rely on instead 👍🏻

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants