Skip to content

DEV SERVER MANAGEMENT

STARTING THE DEV SERVER

Option 1: Start server on default port (5173) in current directory

Use this when: Starting a dev server in the current directory. This is the DEFAULT option - use this unless the user specifically requests a different port or directory.

~/.claude/custom-scripts/vite-dev-server-tools.sh start

Option 2: Start server on a specific port in current directory

Use this when: The user has specifically requested a custom port number. DO NOT use this unless the user explicitly asks for a non-default port.

~/.claude/custom-scripts/vite-dev-server-tools.sh start 3000

Option 3: Start server on specific port in a specific directory

Use this when: The user has specifically requested both a custom port number AND a different project directory. DO NOT use this unless the user explicitly specifies both a custom port and directory path.

~/.claude/custom-scripts/vite-dev-server-tools.sh start 3000 /path/to/your/project

CHECKING IF THE DEV SERVER IS ACTIVE

Option 1: Check server status on default port (5173)

Use this when: Checking if a dev server is running. This is the DEFAULT option - use this unless the user specifically mentions a different port.

~/.claude/custom-scripts/vite-dev-server-tools.sh check

Option 2: Check server status on a specific port

Use this when: The user has specifically mentioned a custom port number that you need to check. DO NOT use this unless the user explicitly mentions a non-default port.

~/.claude/custom-scripts/vite-dev-server-tools.sh check 3000

CLOSING THE DEV SERVER

Option 1: Stop server on default port (5173)

Use this when: Stopping a dev server. This is the DEFAULT option - use this unless the user specifically mentions a different port.

~/.claude/custom-scripts/vite-dev-server-tools.sh stop

Option 2: Stop server on a specific port

Use this when: The user has specifically mentioned a custom port number that needs to be stopped. DO NOT use this unless the user explicitly mentions a non-default port.

~/.claude/custom-scripts/vite-dev-server-tools.sh stop 3000

ADDITIONAL HELP

For more information and usage examples:

~/.claude/custom-scripts/vite-dev-server-tools.sh help