Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 640 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 640 Bytes

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 { tscPlugin } from "vite-plugin-tsc-watch";

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