I am currently using Atom 1.4.0 with the atom-typescript package to develop AngularJS2 modules in TypeScript. On the backend, I have a spring-boot application for handling the REST APIs.
After making changes to the .ts files in Atom, it seems to compile the files and generate the corresponding .js files. However, when I check the changes in Chrome, they do not appear (even after inspecting the Developer console and confirming that the changes were not loaded for both the .ts and .js files).
I have tried restarting Atom, the backend server, clearing the cache on multiple browsers, and even running a build after saving each .ts file, but the issue persists. I cannot seem to figure out where the mistake lies.
A colleague who has the same setup, project (which I copied from them), and version of Atom does not experience this issue – the changes are instantly visible for them.
Do you have any idea what could be causing this problem?
tsconfig.json
{
"compilerOptions": {
"target": "ES5",
"module": "system",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false
},
"compileOnSave": true,
"exclude": [
"node_modules"
]
}
package.json
{
"name": "resend",
"version": "1.0.0",
"scripts": {
"tsc": "tsc",
"tsc:w": "tsc -w"
},
"dependencies": {
"angular2": "2.0.0-beta.0",
"systemjs": "0.19.6",
"es6-promise": "^3.0.2",
"es6-shim": "^0.33.3",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.0",
"zone.js": "0.5.10",
"bootstrap": "^3.3.6"
},
"devDependencies": {
"concurrently": "^1.0.0",
"typescript": "^1.7.3"
}
}