Skip to content

-w and -p options do not work together #8170

Closed
@marcinnajder

Description

@marcinnajder

./node_modules/.bin/tsc -v
Version 1.9.0-dev.20160418

./node_modules/.bin/tsc -p . -w
fs.js:1236
throw error;
^

Error: watch ENOENT
at exports._errnoException (util.js:870:11)
at FSWatcher.start (fs.js:1234:19)
at Object.fs.watch (fs.js:1262:11)
at addDirWatcher (/Volumes/data/gitlab/cms2/node_modules/typescript/lib/tsc.js:1072:39)
at Object.addFile (/Volumes/data/gitlab/cms2/node_modules/typescript/lib/tsc.js:1087:21)
at Object.watchFile (/Volumes/data/gitlab/cms2/node_modules/typescript/lib/tsc.js:1226:48)
at Object.executeCommandLine (/Volumes/data/gitlab/cms2/node_modules/typescript/lib/tsc.js:36330:44)
at Object. (/Volumes/data/gitlab/cms2/node_modules/typescript/lib/tsc.js:36692:4)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions