Automatically restart TypeScript and ESLint servers when configuration files change—no manual restarts needed! 🚀

Works out of the box! The extension automatically monitors common configuration files and restarts servers when they change. No setup needed—just install and enjoy seamless server restarts.
- Intelligent Debouncing: Batches rapid file changes (like during
npm install) to prevent unnecessary server restarts, keeping your workspace responsive - Selective Monitoring: Automatically excludes
node_modulesand build directories to focus on what matters - Performance Optimized: Only watches files that actually affect your TypeScript/ESLint configuration
Automatically detects changes to:
- TypeScript:
tsconfig.json,tsconfig.app.json,tsconfig.app.js, and more - ESLint:
.eslintrc.*files (JS, CJS, MJS, YAML, JSON) and moderneslint.config.*files - Git Integration: Monitors
.git/HEADto catch branch switches and configuration updates
- Independent Controls: Enable/disable TypeScript and ESLint monitoring separately
- Custom Glob Patterns: Configure exactly which files to monitor using VS Code's glob pattern syntax
- Flexible Exclusions: Add your own exclude patterns to ignore specific directories
- Notification Preferences: Choose whether to see restart notifications for each server type
- Debounce Tuning: Adjust the delay to match your workflow (default: 500ms)
Perfect for large projects using Turborepo, Lerna, Nx, or other monorepo tools. Handles complex project structures with ease.
- Instant Feedback: Get notified when servers restart (optional)
- No Manual Restarts: Never manually restart servers again—the extension handles it automatically
- Works Seamlessly: Integrates with VS Code's built-in TypeScript and ESLint extensions
Say goodbye to stale type checking and linting errors. Focus on coding while the extension keeps your servers in sync! 🎉
Clone the repository using the command:
git clone https://github.com/neotan/vscode-auto-restart-typescript-eslint-serversNavigate to the repository folder:
cd vscode-auto-restart-typescript-eslint-serversInstall the required dependencies:
npm installMake necessary changes to the code or configuration files as needed.
Run the following command to generate the .vsix package:
npm run packageInstall the extension to your VSCode using:
npm run install-vsix <path-to-vsix>Open VSCode, navigate to the Extensions tab in the sidebar, and search for neotan.vscode-auto-restart-typescript-eslint-servers to ensure the extension is installed correctly.
You can now test the functionality of the extension within VSCode.
Note⚠: Once you published the new version to the marketplace, remember uninstall the development version so you can actually use the published one.