Skip to content

Commit 13ed32f

Browse files
Set enableComponentConsoleOutput as true for dev mode
1 parent c1513b6 commit 13ed32f

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/cli/facade/dev.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ const dev = ({ local, logger }: { logger: Logger; local: Local }) =>
204204
hotReloading,
205205
liveReloadPort: liveReload.port,
206206
local: true,
207+
enableComponentConsoleOutput: true,
207208
postRequestPayloadSize,
208209
components: opts.components,
209210
path: path.resolve(componentsDir),

src/registry/domain/options-sanitiser.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ export default function optionsSanitiser(input: RegistryOptions): Config {
174174
options.tarExtractMode = 766;
175175
}
176176

177+
if (typeof options.enableComponentConsoleOutput === 'undefined') {
178+
options.enableComponentConsoleOutput = false;
179+
}
180+
177181
if (
178182
typeof options.fallbackRegistryUrl !== 'undefined' &&
179183
!options.fallbackRegistryUrl.endsWith('/')

0 commit comments

Comments
 (0)