Skip to content

tsc -w get compiles its own output again #8249

Closed
@jrieken

Description

@jrieken

TypeScript Version:

1.8.10

Code

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "ES6",
        "noLib": true,
        "outDir": "out"
    },
    "exclude": [
        "node_modules"
    ]
}

Have a file extension.js and run once tsc -p jsconfig.json which gives you a file out/extension.js. Start tsc in watch mode, make a change to extension.js

Expected behavior:

The compiler should auto-magically exclude the outDir.

Actual behavior:

It recurses forever which make the terminal print funny patterns
screen shot 2016-04-22 at 11 13 40

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issueSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions