为什么每次tsc app.ts后,都需要重新npm start才能打开网页。
{
"name": "confit-setup",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "lite-server"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"lite-server": "^2.6.1",
"nodemon": "^2.0.15",
"typescript": "^4.5.4"
},
"dependencies": {
"watch": "^1.0.2"
}
}