Typescript files are not getting updated in browsers inspect in Angular 14. I have tried to delete node_module and package-lock.json file, disabled ca[enter link description here][1]che from network tab, did hard refresh, re-run the application and event restarted my laptop but still no success. here are my angular.json and package.json file.
Angular.json
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"c3webext_tms_errorqueue": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"progress": false,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/assets",
{
"glob": "*",
"input": "node_modules/@centiro/ng-menu/assets/favicon",
"output": "."
}
],
"styles": [
"src/styles.scss"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js",
"node_modules/@centiro/design-system/dist/js/centiro-bootstrap.core.js"
],
"aot": false,
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
},
"local": {
"styles": [ "src/styles.scss" ],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.local.ts"
}
]
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "c3webext_tms_errorqueue:build"
},
"configurations": {
"production": {
"browserTarget": "c3webext_tms_errorqueue:build:production"
},
"local": {
"browserTarget": "c3webext_tms_errorqueue:build:local"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "c3webext_tms_errorqueue:build"
}
},
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist-server",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.server.json",
"sourceMap": true,
"optimization": false
},
"configurations": {
"dev": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": true
},
"local": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": true
},
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false
}
},
"defaultConfiguration": ""
}
}
}
},
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"cli": {
"analytics": false,
"cache": {
"enabled": false
}
}
}
Package.json
{
"name": "c3webext_tms_errorqueue",
"version": "1.0.0",
"scripts": {
"build": "ng build",
"build:prod": "ng build --configuration production",
"lint:js": "eslint {mock,src}/**/*.{js,ts}",
"lint:js:fix": "eslint {mock,src}/**/*.{js,ts} --fix",
"lint:css": "stylelint src/**/*.{scss,css,sass}",
"lint:css:fix": "stylelint src/**/*.{scss,css,sass} --fix",
"lint": "npm run lint:js && npm run lint:css",
"lint:fix": "npm run lint:js:fix && npm run lint:css:fix",
"ng": "ng",
"ng:local": "ng serve --configuration=local",
"prettier": "prettier --check {mock,src}/**/*.{js,ts,css,json}",
"prettier:fix": "prettier --write {mock,src}/**/*.{js,ts,css,json}",
"refreshVSToken": "vsts-npm-auth -config .npmrc",
"serve": "npm run start",
"start": "concurrently --kill-others npm:ng:local npm:start:mock",
"start:mock": "nodemon --watch mock mock/server.js",
"start:dotnet": "echo starting && ng serve",
"test": "jest"
},
"lint-staged": {
"*.{tsx,ts,js}": [
"eslint --fix"
],
"*.{scss,css,sass}": [
"stylelint --fix"
],
"*.{css}": [
"prettier --write"
]
},
"private": true,
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/setupJest.ts",
"projects": [
"<rootDir>/jest.config.js"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"@angular/animations": "14.3.0",
"@angular/cdk": "^14.0.0",
"@angular/common": "14.3.0",
"@angular/compiler": "14.3.0",
"@angular/core": "14.3.0",
"@angular/forms": "14.3.0",
"@angular/localize": "14.3.0",
"@angular/platform-browser": "14.3.0",
"@angular/platform-browser-dynamic": "14.3.0",
"@angular/platform-server": "14.3.0",
"@angular/router": "14.3.0",
"@centiro/design-system": "^20221003.0.1",
"@centiro/locale-list": "^20210312.0.1",
"@centiro/ng-design-system": "^14.0.23",
"@centiro/ng-identity-server": "^14.0.8",
"@centiro/ng-menu": "^14.0.14",
"@centiro/unit-convert": "^10.0.25",
"@ngx-translate/core": "^14.0.0",
"@ngx-translate/http-loader": "^7.0.0",
"angular2-multiselect-dropdown": "^5.0.4",
"camelcase-keys": "^6.2.2",
"classlist.js": "^1.1.20150312",
"core-js": "^3.8.2",
"i": "^0.3.7",
"jquery": "^3.5.1",
"moment": "^2.29.4",
"ng-sidebar": "^9.4.2",
"ngx-infinite-scroll": "^14.0.0",
"ngx-translate-multi-http-loader": "^3.0.0",
"npm": "^9.8.1",
"rxjs": "^6.6.3",
"web-animations-js": "^2.3.2",
"zone.js": "~0.11.8"
},
"devDependencies": {
"@angular-devkit/build-angular": "14.2.11",
"@angular/cli": "^14.2.11",
"@angular/compiler-cli": "^14.3.0",
"@angular/language-service": "14.3.0",
"@testing-library/angular": "10",
"@types/jest": "^26.0.20",
"@types/node": "~14.11.10",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/eslint-plugin-tslint": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"concurrently": "^5.3.0",
"eslint": "^7.17.0",
"eslint-config-prettier": "^6.13.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-unused-imports": "^0.1.3",
"husky": "^4.3.7",
"jest": "^26.6.0",
"jest-preset-angular": "^8.3.1",
"json-server": "^0.16.2",
"lint-staged": "^10.5.3",
"ng-mocks": "^14.11.0",
"nodemon": "^2.0.7",
"prettier": "^2.1.2",
"stylelint": "^13.7.2",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-prettier": "^1.1.2",
"stylelint-scss": "^3.18.0",
"ts-jest": "^26.4.1",
"typescript": "~4.6.4",
"vsts-npm-auth": "^0.41.0"
},
"optionalDependencies": {
"ts-node": "~9.0.0"
}
}