Skip to content

Commit df2ef2a

Browse files
authored
fix: call admin.watch after AdminJS initialization (#61)
Otherwise components added via ComponentLoader won't get bundled in development.
1 parent 9fff69f commit df2ef2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/admin.module.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export class AdminModule implements OnModuleInit {
134134
: this.adminModuleOptions.adminJsOptions
135135

136136
const admin = new AdminJS(adminJSOptions);
137+
admin.watch();
137138

138139
const { httpAdapter } = this.httpAdapterHost;
139140
this.loader.register(admin, httpAdapter, {

0 commit comments

Comments
 (0)