0

I downloaded this seed for an Angular & TypeScript project. I updated the ts files and then transpiled it with no errors, but the output file doesn't get updated.

tsconfig:

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "es5",
        "noImplicitAny": true,
        "sourceMap": true,
         "outFile": "dist/app.js"
    },
    "exclude": [
        "node_modules"
    ],
    "files": [        
        "app/initialize.ts",
        "app/welcome/welcome.ts"
    ]
}

Please let me know if you need any other information.

3
  • Are you running it live or are you building it? If you're running it live it's normal, since it just stores the file in memory Commented May 15, 2017 at 14:13
  • @Corrado I don't understand your question. I run the TypeScript compiler via WebStorm. What should I do? Commented May 16, 2017 at 13:53
  • If you rename your previously exported file to something different and try to transpile new one, create it new file with previous name newly? If no (and I think that no) your project or any other internal file (like lib.d.ts) contains error or you have just broken transpiler. IDEs usually could not parse this kind of errors. Similar issue is for Visual Studio stackoverflow.com/questions/42005390/… see second part where are described how to run transpiler handly and see raw transpiler output. Commented May 18, 2017 at 5:52

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.