Israelgilamran/tsc-watch
The TypeScript compiler with --watch and a new onSuccess argument
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tháng
#1 Repository của tháng
#1 Repository của tháng
🚀 tsc-watch: nodemon dành riêng cho TypeScript
Chạy
tsc --watchvà 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ớitsc, bạn đều làm được vớitsc-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.
This is a simple REST API with node and express with typescript
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Monitor for any changes in your node.js application and automatically restart the server - perfect for development
Reverse engineer anything with agents, from app behavior down to native binaries.
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
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.
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core