Skip to content

Effortless live reloading for TypeScript just like nodemon for js

Notifications You must be signed in to change notification settings

pandarudra/cookts

Repository files navigation

Cookts

Effortless live compiling as well as reloading for TypeScript.

Description

CookTS is a simple setup for live reloading TypeScript and JavaScript files using nodemon and ts-node. It allows you to develop your TypeScript projects with ease, automatically recompiling and restarting the application when changes are detected.

Getting Started

Prerequisites

  • Node.js
  • npm

Installation

  1. Install the dependencies:
    npm install

Usage

2.To start the application with live reloading,

If your file path is src/index.ts run:

npx cookts

else:

npx cookts file_name.ts

or

npx cookts dir/file_name.ts