You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I edit my extension's package.json while developing, directus does not reload it. Even een reboot does not solve my issue. I have to drop my database and rebootstrap.
To Reproduce
Create a directus extension folder in extension/demo with the "bundle" type.
Add a hooks extension to the bundle called "hooks1"
Bootstrap and run directus with EXTENSIONS_AUTO_RELOAD=true
Add another hooks extension to the bundle called "hooks2"
The demo/hooks2 extension is not loaded
Restart directus
The demo/hooks2 extention is not loaded
Drop database and rebootstrap
The demo/hooks2 extension is loaded
Directus Version
v10.10.4
Hosting Strategy
Self-Hosted (Custom)
The text was updated successfully, but these errors were encountered:
Are you rebuilding the bundle extension after changes? I dont see that crucial step in the reproduction steps.
Yes, fair enough. My extension is running in watch mode. And the Directus logs even show "Extensions reloaded" when I restart the directus sdk. The dist folder also contains the sources for my new hook. But http://localhost:8055/admin/settings/extensions doesn't show my new extension.
I had the same issue and also resolved it by removing all records from the directus_extensions and restarting directus.
An automatic update would be much appreciated!
Describe the Bug
Whenever I edit my extension's package.json while developing, directus does not reload it. Even een reboot does not solve my issue. I have to drop my database and rebootstrap.
To Reproduce
extension/demo
with the "bundle" type.EXTENSIONS_AUTO_RELOAD=true
Directus Version
v10.10.4
Hosting Strategy
Self-Hosted (Custom)
The text was updated successfully, but these errors were encountered: