You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have customized my dev command to be vercel dev to ensure my Serverless Functions for Vercel are usable within this extension. When the command runs, you can see this error:
130 % vercel dev --port=4000
Vercel CLI 30.0.0
WARN! `--port` is deprecated, please use `--listen` instead
> Running Dev Command “vite --port $PORT”
VITE v4.3.9 ready in 145 ms
➜ Local: http://localhost:4000/
➜ Network: use --host to expose
➜ press h to show help
> Ready! Available at http://localhost:4000
WARN! `--port` is deprecated, please use `--listen` instead
Suggested solution
Allow users to specify custom flag names or a flag override field would be the ideal solution.
Alternative
Have a field that allows users to input their own flags and ignore the default port field? Not sure.
Clear and concise description of the problem
I have customized my dev command to be
vercel dev
to ensure my Serverless Functions for Vercel are usable within this extension. When the command runs, you can see this error:Suggested solution
Allow users to specify custom flag names or a flag override field would be the ideal solution.
Alternative
Have a field that allows users to input their own flags and ignore the default port field? Not sure.
Additional context
It looks like
--port
is hardcoded at the moment:vscode-vite/src/start.ts
Line 38 in 57f6c6b
Validations
The text was updated successfully, but these errors were encountered: