Skip to content

Add comprehensive development server management aliases#2

Merged
AzCez merged 1 commit intomasterfrom
rails_and_vite_servers
Sep 11, 2025
Merged

Add comprehensive development server management aliases#2
AzCez merged 1 commit intomasterfrom
rails_and_vite_servers

Conversation

@AzCez
Copy link
Copy Markdown
Owner

@AzCez AzCez commented Sep 11, 2025

Add complete set of development server management aliases with professional output and command references.

New aliases:

  • rds: Start both Rails and Vite servers in background
  • crs: Check server status with detailed information and smart URL display
  • krs: Kill Rails server only with comprehensive process cleanup
  • kvs: Kill Vite server only with comprehensive process cleanup
  • rvs: Start just Vite server in background
  • kas: Kill all development servers (Rails + Vite)

Features:

  • Professional output with emojis and clear formatting
  • Smart error handling (only shows URLs for running servers)
  • Comprehensive process cleanup (port-based + process name-based)
  • Consistent command reference displayed by all aliases
  • Background execution (non-blocking terminal)
  • Log file management (/tmp/rails.log, /tmp/vite.log)

All aliases are version-controlled in dotfiles repository:

  • Scripts: /Users/ces/code/AzCez/dotfiles/scripts/
  • Aliases: /Users/ces/code/AzCez/dotfiles/aliases

This provides a streamlined development workflow for Rails + Vite projects.

@AzCez AzCez merged commit dc891e0 into master Sep 11, 2025
@AzCez AzCez deleted the rails_and_vite_servers branch September 11, 2025 20:06
@AzCez AzCez restored the rails_and_vite_servers branch September 12, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant