RepositoryTypeScriptILIsrael
gilamran

gilamran/tsc-watch

The TypeScript compiler with --watch and a new onSuccess argument

718sao
63fork
3issue
0lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: nodemon

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: watch

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: tsc

#1 Repository của tháng

🚀 tsc-watch: nodemon dành riêng cho TypeScript

Chạy tsc --watch và reageerd ngay khi biên dịch thành công, lỗi, hoặc file được sinh ra — mọi gì bạn làm được với tsc, bạn đều làm được với tsc-watch, chỉ khác là nó có thể phản hồi trạng thái biên dịch.

tsc-watch khởi chạy TypeScript compiler (tsc) với tham số --watch, đồng thời hỗ trợ các tham số như --onSuccess, --onFailure, --onEmit để thực thi lệnh tùy theo trạng thái. Phù hợp thay thế nodemon khi phát triển ứng dụng Node.js bằng TypeScript.

✨ Điểm nổi bật

  • --onSuccess: chạy lệnh sau mỗi lần biên dịch thành công
  • --onFirstSuccess: chạy lệnh một lần duy nhất khi biên dịch lần đầu thành công
  • --onEmit: chạy lệnh sau mỗi file được sinh ra (debounce tùy chỉnh)
  • --onFailure: thực thi lệnh khi biên dịch gặp lỗi
  • --onCompilationStarted / --onCompilationComplete: phản hồi sự kiện bắt đầu/kết thúc biên dịch
  • Hỗ trợ tsgo: dùng --compileCommand tsgo để biên dịch bản địa
  • Tích hợp Node.js EventEmitter: dùng từ JavaScript với các sự kiện như started, first_success, subsequent_success, compile_errors, file_emitted

💡 Vì sao đáng chú ý

tsc-watch giúp bạn tự động hóa toàn bộ quy trình phát triển: mỗi khi thay đổi code, nó biên dịch và chạy server mà không cần can thiệp thủ công. Không cần cấu hình phức tạp, chỉ cần thêm script npm và mọi thứ hoạt động như mong đợi — lý tưởng cho dự án TypeScript Node.js cần workflow dev nhanh chóng.


#TypeScript #tsc-watch #nodemon #devworkflow #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
nmanikiran/rest-api-node-typescript

This is a simple REST API with node and express with typescript

199
Jun 17, 2021
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026
RepositoryJavaScript
remy/nodemon

Monitor for any changes in your node.js application and automatically restart the server - perfect for development

26.7k
Nov 2, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.9k
Dec 2, 2026
RepositoryTypeScript
nilbuild/developer-roadmap

Interactive roadmaps, guides and other educational content to help developers grow in their careers.

373.1k
Dec 1, 2026
RepositoryTypeScript
firecrawl/firecrawl

Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.

215.1k
Dec 2, 2026
RepositoryTypeScript
vuejs/vue

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

212.6k
Oct 10, 2024