Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsc --watch is not supported on Windows 10 WSL #15328

Closed
wclr opened this issue Apr 23, 2017 · 4 comments
Closed

tsc --watch is not supported on Windows 10 WSL #15328

wclr opened this issue Apr 23, 2017 · 4 comments
Labels
External Relates to another program, environment, or user action which we cannot control. Fixed A PR has been merged for this issue

Comments

@wclr
Copy link

wclr commented Apr 23, 2017

--> tsc --watch
fs.js:1445
    throw error;
    ^

Error: watch /mnt/d/Code/app EPERM
    at exports._errnoException (util.js:1018:11)
    at FSWatcher.start (fs.js:1443:19)
    at Object.fs.watch (fs.js:1470:11)
    at Object.watchDirectory (/usr/lib/node_modules/typescript/lib/tsc.js:2231:32)
    at Object.executeCommandLine (/usr/lib/node_modules/typescript/lib/tsc.js:51180:43)
    at Object.<anonymous> (/usr/lib/node_modules/typescript/lib/tsc.js:51540:4)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
tsc --version
Version 2.2.0-dev.20161116
@saschanaz
Copy link
Contributor

saschanaz commented Apr 23, 2017

If this works on original Ubuntu I think this should be on BashOnWindows side.

@DanielRosenwasser
Copy link
Member

Probably related to microsoft/WSL#216 (found through webpack/webpack#2949).

@DanielRosenwasser DanielRosenwasser added the Needs More Info The issue still hasn't been fully clarified label Apr 24, 2017
@DanielRosenwasser
Copy link
Member

Sounds like this should be fixed. Can you ensure you're running the most up-to-date version of Windows + WSL?

@wclr
Copy link
Author

wclr commented Apr 24, 2017

Yes it works on insiders preview, checked it today. So issue think maybe closed, or wait until oficial release of the update.

@mhegazy mhegazy closed this as completed Apr 24, 2017
@mhegazy mhegazy added Fixed A PR has been merged for this issue and removed Needs More Info The issue still hasn't been fully clarified labels Apr 24, 2017
@DanielRosenwasser DanielRosenwasser added the External Relates to another program, environment, or user action which we cannot control. label Apr 24, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
External Relates to another program, environment, or user action which we cannot control. Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

4 participants