🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

vite-plugin-tsc-watch

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-tsc-watch

Plugs tsc --watch into Vite dev server

3.1.0
latest
Source
npm
Version published
Weekly downloads
1.6K
5.63%
Maintainers
0
Weekly downloads
 
Created
Source

vite-plugin-tsc-watch npm

Plugs tsc --watch into Vite dev server. Like @nabla/vite-plugin-eslint this is a dev-only low noise plugin. It will just add logs to the dev server and not trigger an overlay while you're debugging or iterating on your code.

Installation

npm i -D vite-plugin-tsc-watch

Usage

import { defineConfig } from "vite";
import { tscWatch } from "vite-plugin-tsc-watch";

export default defineConfig({
  plugins: [tscWatch()],
});

Notes

To ensure .ts and .tsx files are not needlessly transpiled to .js files littering your codebase, set compilerOptions.noEmit: true in your tsconfig.json.

Keywords

vite

FAQs

Package last updated on 09 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts