Run;
npm init
This will create a npm
package.json file in the root of your project.
Run;
npm install lite-server --save-dev
After installing, add a start script in the package.json file, i.e,
"start": "lite-server",
This will allow you to run the server with the command npm start
Run;
tsc --init
- To begin watch mode, run;
tsc --watch
alternatively, run;
tsc -w