We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
${port}
1 parent e5fb34e commit 8f530f7Copy full SHA for 8f530f7
packages/vscode/src/composables/useDevServer.ts
@@ -37,7 +37,7 @@ export function useDevServer(project: SlidevProject) {
37
env.remoteName != null ? '--remote' : '',
38
].filter(Boolean).join(' ')
39
// eslint-disable-next-line no-template-curly-in-string
40
- sendText(devCommand.value.replaceAll('${args}', args))
+ sendText(devCommand.value.replaceAll('${args}', args).replaceAll('${port}', `${port.value}`))
41
}
42
43
function stop() {
0 commit comments