File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
packages/app/src/cli/models Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -2070,9 +2070,12 @@ describe('load', () => {
20702070 const app = await loadTestingApp ( )
20712071
20722072 // Then
2073- expect ( app . allExtensions ) . toHaveLength ( 6 )
2073+ expect ( app . allExtensions ) . toHaveLength ( 7 )
20742074 const extensionsConfig = app . allExtensions . map ( ( ext ) => ext . configuration )
20752075 expect ( extensionsConfig ) . toEqual ( [
2076+ expect . objectContaining ( {
2077+ name : 'for-testing' ,
2078+ } ) ,
20762079 expect . objectContaining ( {
20772080 name : 'for-testing' ,
20782081 } ) ,
@@ -2128,9 +2131,12 @@ describe('load', () => {
21282131 const app = await loadTestingApp ( { remoteFlags : [ ] } )
21292132
21302133 // Then
2131- expect ( app . allExtensions ) . toHaveLength ( 7 )
2134+ expect ( app . allExtensions ) . toHaveLength ( 8 )
21322135 const extensionsConfig = app . allExtensions . map ( ( ext ) => ext . configuration )
21332136 expect ( extensionsConfig ) . toEqual ( [
2137+ {
2138+ name : 'for-testing-webhooks' ,
2139+ } ,
21342140 {
21352141 name : 'for-testing-webhooks' ,
21362142 } ,
Original file line number Diff line number Diff line change @@ -458,6 +458,8 @@ export class ExtensionInstance<TConfiguration extends BaseConfigType = BaseConfi
458458 if ( ! watchConfig ) {
459459 const importedFiles = this . scanImports ( )
460460 watchedFiles . push ( ...importedFiles )
461+ const wildcard = joinPath ( this . directory , '**/*' )
462+ watchedFiles . push ( wildcard )
461463 }
462464
463465 return [ ...new Set ( watchedFiles . map ( ( file ) => normalizePath ( file ) ) ) ]
Original file line number Diff line number Diff line change @@ -320,6 +320,7 @@ export function createContractBasedModuleSpecification<TConfiguration extends Ba
320320 clientSteps : spec . clientSteps ,
321321 uidStrategy : spec . uidStrategy ,
322322 transformRemoteToLocal : spec . transformRemoteToLocal ,
323+ devSessionWatchConfig : spec . devSessionWatchConfig ,
323324 deployConfig : async ( config , directory ) => {
324325 let parsedConfig = configWithoutFirstClassFields ( config )
325326 if ( spec . appModuleFeatures ( ) . includes ( 'localization' ) ) {
You can’t perform that action at this time.
0 commit comments