Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto-Restarter: TypeScript, ESLint, Oxlint, Oxfmt ServersNew to Visual Studio Code? Get it now.
Auto-Restarter: TypeScript, ESLint, Oxlint, Oxfmt Servers

Auto-Restarter: TypeScript, ESLint, Oxlint, Oxfmt Servers

chrp

|
71 installs
| (0) | Free
Watches project configuration and automatically restarts TypeScript, ESLint, Oxlint, and Oxfmt language servers when relevant files change.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Auto-Restarter: TypeScript, ESLint, Oxlint & Oxfmt Servers

Monitors project configuration and automatically restarts TypeScript, ESLint, Oxlint, and Oxfmt language servers when relevant files change.

Fork

Fork of vscode-restart-ts-server-button by Neotan. Changes include:

  • Updated globs for eslint/typescript
  • Debounce to prevent restarts happening too often
  • Added support for Oxlint, Oxfmt, and tsgo (TypeScript Native Preview)

Make sure node_modules are ignored in your watchers

  "files.watcherExclude": {
    "**/node_modules/**": true
  },

Features

  • Restart TypeScript, ESLint, Oxlint, Oxfmt, and tsgo servers automatically
  • Each server can be independently enabled/disabled
  • Configurable file globs per server
  • Configurable restart notifications per server

Supported servers

Server Extension required Default
TypeScript vscode.typescript-language-features (built-in) "auto-detect"
ESLint dbaeumer.vscode-eslint "auto-detect"
Oxlint oxc.oxc-vscode "auto-detect"
Oxfmt oxc.oxc-vscode "auto-detect"
tsgo (TypeScript Native Preview) TypeScriptTeam.native-preview "auto-detect"

Each server's monitorFilesFor* setting accepts three values:

  • true — monitor files; warn if the extension is not found or not active
  • "auto-detect" — monitor files; silently skip if the extension is not found or not active
  • false — disable monitoring entirely

Servers that watch their own config

Recent oxlint, oxfmt, tsgo and tsrs servers watch their config files themselves and reload on change. For those versions, changes to their own monitored files no longer trigger a restart. package.json and lockfile changes still restart them, to pick up a new binary or a config preset updated in node_modules.

Server Version source Skipped since
Oxlint oxlint in node_modules (not when oxc.path.oxlint is set) config files 1.29.0, tsconfig 1.33.0 (not when oxc.tsConfigPath is set)
Oxfmt oxfmt in node_modules (not when oxc.path.oxfmt is set) config files 0.15.0, .editorconfig 0.24.0, .prettierignore 0.72.0
tsgo / tsrs package behind js/ts.tsdk.path, typescript.tsdk (native only) or typescript.native-preview.tsdk, else the TypeScript Native Preview extension tsrs: any version; @typescript/native-preview / typescript 7: dev builds from 20250822; extension 0.20250822.0

When the version cannot be resolved, the server is restarted.

Credits

  • vscode-restart-ts-server-button by Neotan
  • vscode-restart-ts-server-button by Qcz
  • vscode-eslint by Microsoft
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft