From f30eb260037adb968a385993d2afb38262bd779a Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Sun, 7 Nov 2021 14:29:24 +0000 Subject: [PATCH] Change listening port from 5000 to 5420 (#225) --- README.md | 2 +- example/esbuild.config.mjs | 2 +- example/scripts/dev.mjs | 3 +-- packages/tldraw/README.md | 2 +- vscode/editor/esbuild.config.mjs | 2 +- yarn.lock | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 88bcbdf26..7ffec82fd 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ A binding is a connection **from** one shape and **to** another shape. At the mo - Run `yarn start` to start the development server for the package and for the example. -- Open `localhost:5000` to view the example project. +- Open `localhost:5420` to view the example project. - Run `yarn test` to execute unit tests via [Jest](https://jestjs.io). diff --git a/example/esbuild.config.mjs b/example/esbuild.config.mjs index fe792d001..4eab50ff4 100644 --- a/example/esbuild.config.mjs +++ b/example/esbuild.config.mjs @@ -35,7 +35,7 @@ esbuild .catch(() => process.exit(1)) serve.start({ - port: 5000, + port: 5420, root: './dist', live: true, }) diff --git a/example/scripts/dev.mjs b/example/scripts/dev.mjs index 902b9c30e..9d78eba0c 100644 --- a/example/scripts/dev.mjs +++ b/example/scripts/dev.mjs @@ -26,13 +26,12 @@ async function main() { }, watch: { onRebuild(err) { - serve.update() err ? error('❌ Failed') : log('✅ Updated') }, }, }, { - port: 5000, + port: 5420, root: './dist', live: true, } diff --git a/packages/tldraw/README.md b/packages/tldraw/README.md index 88bcbdf26..7ffec82fd 100644 --- a/packages/tldraw/README.md +++ b/packages/tldraw/README.md @@ -221,7 +221,7 @@ A binding is a connection **from** one shape and **to** another shape. At the mo - Run `yarn start` to start the development server for the package and for the example. -- Open `localhost:5000` to view the example project. +- Open `localhost:5420` to view the example project. - Run `yarn test` to execute unit tests via [Jest](https://jestjs.io). diff --git a/vscode/editor/esbuild.config.mjs b/vscode/editor/esbuild.config.mjs index fe792d001..4eab50ff4 100644 --- a/vscode/editor/esbuild.config.mjs +++ b/vscode/editor/esbuild.config.mjs @@ -35,7 +35,7 @@ esbuild .catch(() => process.exit(1)) serve.start({ - port: 5000, + port: 5420, root: './dist', live: true, }) diff --git a/yarn.lock b/yarn.lock index 03fa44f91..92e8ec6a9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6009,7 +6009,7 @@ electron-util@^0.17.2: electron-is-dev "^1.1.0" new-github-issue-url "^0.2.1" -electron@^15.3.0: +electron@15.3.0: version "15.3.0" resolved "https://registry.yarnpkg.com/electron/-/electron-15.3.0.tgz#f9803c5a05b2dac12efc6d4203492c7e204b4819" integrity sha512-YLzaKCFmSniNlz9+NUTNs7ssPyDc+bYOCYZ0b/D6DjVkOeIFz4SR8EYKqlOc8TcqlDNu18BbWqz6zbJPyAAURg==