Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .superset/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ step_write_env() {
# Port allocation for multi-worktree dev instances
# Each workspace gets a range of 20 ports from its base.
# Offsets: +0 web, +1 api, +2 marketing, +3 admin, +4 docs,
# +5 desktop vite, +6 notifications, +7 streams, +8 streams internal, +9 electric
# +5 desktop vite, +6 notifications, +7 streams, +8 streams internal, +9 electric,
# +10 code inspector
if [ -n "${SUPERSET_PORT_BASE:-}" ]; then
local BASE=$SUPERSET_PORT_BASE

Expand All @@ -373,6 +374,7 @@ step_write_env() {
local STREAMS_PORT=$((BASE + 7))
local STREAMS_INTERNAL_PORT=$((BASE + 8))
local ELECTRIC_PORT=$((BASE + 9))
local CODE_INSPECTOR_PORT=$((BASE + 10))

echo ""
echo "# Workspace Ports (allocated from SUPERSET_PORT_BASE=$BASE, range=20)"
Expand All @@ -387,6 +389,7 @@ step_write_env() {
echo "STREAMS_PORT=$STREAMS_PORT"
echo "STREAMS_INTERNAL_PORT=$STREAMS_INTERNAL_PORT"
echo "ELECTRIC_PORT=$ELECTRIC_PORT"
echo "CODE_INSPECTOR_PORT=$CODE_INSPECTOR_PORT"
echo ""
echo "# Cross-app URLs (overrides from root .env)"
echo "NEXT_PUBLIC_API_URL=http://localhost:$API_PORT"
Expand Down
1 change: 1 addition & 0 deletions apps/desktop/electron.vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export default defineConfig({
bundler: "vite",
hotKeys: ["altKey"],
hideConsole: true,
port: Number(process.env.CODE_INSPECTOR_PORT) || undefined,
}),
htmlEnvTransformPlugin(),
],
Expand Down
Loading