Skip to content

Commit de0543f

Browse files
committed
feat(cli.rs): change inferred dev server port to 8080 for Svelte apps
1 parent a017fbc commit de0543f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"cli.rs": patch
3+
---
4+
5+
The inferred development server port for Svelte is now `8080` (assumes latest Svelte with `sirv-cli >= 2.0.0`).

tooling/cli.rs/src/helpers/framework.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub enum Framework {
2121
impl Framework {
2222
pub fn dev_path(&self) -> String {
2323
match self {
24-
Self::Svelte => "http://localhost:5000",
24+
Self::Svelte => "http://localhost:8080",
2525
Self::Angular => "http://localhost:4200",
2626
Self::React => "http://localhost:3000",
2727
Self::Nextjs => "http://localhost:3000",

0 commit comments

Comments
 (0)