Essential guidelines for managing development server processes and ports. Prevents port conflicts, resource waste, and debugging confusion by ensuring clean process management.
Before starting any dev server, always check for and kill existing processes on the target port Never run multiple dev servers for the same project simultaneously - kill old ones before starting new ones Use lsof -ti:[PORT] | xargs kill -9 to clean up ports before starting servers Minimize background processes - only keep necessary dev servers running (one per active project) When debugging, restart the existing server rather than spawning additional ones If starting a new background process, verify no duplicate processes exist first
Before starting any dev server, always check for and kill existing processes on the target port Never run multiple dev servers for the same project simultaneously - kill old ones before starting new ones Use lsof -ti:[PORT] | xargs kill -9 to clean up ports before starting servers Minimize background processes - only keep necessary dev servers running (one per active project) When debugging, restart the existing server rather than spawning additional ones If starting a new background process, verify no duplicate processes exist first
This prompt is released under CC0 (Public Domain). You are free to use it for any purpose without attribution.
Explore similar prompts based on category and tags
Gather structured feedback from AI assistants about the AI Context System usage. Helps collect real-world insights for continuous improvement of development workflows.
Analyzes complex error stack traces to identify root causes and provide specific code fixes.
Provides commands (grep/awk) or scripts to parse logs and extract meaningful metrics.
Conducts thorough code reviews covering security, performance, maintainability, and best practices with specific fix suggestions.