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

[WSL 2] File watchers like create-react-app, gulp or sass doesn't work #4224

Closed
silvaan opened this issue Jun 23, 2019 · 9 comments
Closed

Comments

@silvaan
Copy link

silvaan commented Jun 23, 2019

But I can, for example, open a react app from browser normally. Am I missing something?

@therealkenc
Copy link
Collaborator

therealkenc commented Jun 23, 2019

Am I missing something?

No repro was offered which would allow a definitive answer; but guessing, no, you are probably not missing something ref #4169.

@canselcik
Copy link

Related to #4064 (comment) for sure.

@therealkenc
Copy link
Collaborator

therealkenc commented Oct 10, 2019

#4064 #4739 as LZ

@djasuncion
Copy link

same problem here...

@isaumya
Copy link

isaumya commented Jun 17, 2020

I am also facing the exact same issue. So let's say I am using WSL 2 with Ubuntu 20.04 LTS with Sass installed over nodejs. So, when I am doing the following:

> cd /mnt/d/some-folder/
> sass assets/scss/example.scss:assets/css/example.css --watch --style compressed

It says that watching file, but making changes to the file doesn't invoke the SASS compilation.

I had to go back to WSL 1 in order for it to work. Is this a WSL bug? Am I missing something here?

@DavidKahnt
Copy link

@isaumya It is currently not working in WSL2. There is still an open issue #4739 .

@isaumya
Copy link

isaumya commented Jun 25, 2020

@daviidesnow Thanks a lot for letting me know. I've moved back my Linux install to WSL 1 as it seems WSL 2 is still not ready for our use-case. Maybe will be fixed in a couple of months or so or maybe never. Who knows? Thanks a lot for pointing to the correct issue.

@TasinAhmed
Copy link

@daviidesnow Thank you. I was disappointed about this. Guess I'll use WSL1 for now :/

@tytrdev
Copy link

tytrdev commented Aug 26, 2020

I got around this by just keeping my project on the native filesystem. I use Windows Terminal and open two tabs. One is ZSH on Ubuntu and this is where I do my tmux/vim stuff. The other is a powershell tab where I add dependencies, run the project, use git commandline, etc.

It's definitely not perfect, but it allows me to feel mostly at home on windows for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants