We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52ac076 commit 9ece8feCopy full SHA for 9ece8fe
src/commands/dev/dev.ts
@@ -96,6 +96,10 @@ export const dev = async (options: OptionValues, command: BaseCommand) => {
96
const devConfig = {
97
framework: '#auto',
98
autoLaunch: Boolean(options.open),
99
+ ...(cachedConfig.siteInfo?.dev_server_settings && {
100
+ command: cachedConfig.siteInfo.dev_server_settings.cmd,
101
+ targetPort: cachedConfig.siteInfo.dev_server_settings.target_port,
102
+ }),
103
...(config.functionsDirectory && { functions: config.functionsDirectory }),
104
...(config.build.publish && { publish: config.build.publish }),
105
...(config.build.base && { base: config.build.base }),
0 commit comments