To tomando 404 no browser. Cannot GET /, quando rodo: npm run start. Já no npm run watch: Found 0 errors. Watching for file changes.
package json:
{
"name": "alurabank",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"server": "lite-server --baseDir=dist",
"start": "concurrently \"npm run watch\" \"npm run server\"",
"compile": "tsc",
"watch": "tsc -w"
},
"author": "",
"license": "ISC",
"devDependencies": {
"concurrently": "^6.0.0",
"lite-server": "^2.6.1",
"typescript": "^4.2.2"
}
}
ts.config.json
{
"compilerOptions": {
"outDir": "dist/js",
"target": "ES6",
"noEmitOnError": true,
},
"include": ["app/**/*"],
}