Skip to content

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

Closed

Description

@silvaan

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

Activity

  1. therealkenc commented on Jun 23, 2019

    @therealkenc

    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.

  2. canselcik commented on Jun 24, 2019

    @canselcik

    Related to #4064 (comment) for sure.

  3. therealkenc commented on Oct 10, 2019

    @therealkenc

    #4064 #4739 as LZ

  4. djasuncion commented on Apr 8, 2020

    @djasuncion

    same problem here...

  5. isaumya commented on Jun 17, 2020

    @isaumya

    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?

  6. DavidKahnt commented on Jun 25, 2020

    @DavidKahnt

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

  7. isaumya commented on Jun 25, 2020

    @isaumya

    @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.

  8. TasinAhmed commented on Jul 13, 2020

    @TasinAhmed

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

  9. tytrdev commented on Aug 26, 2020

    @tytrdev

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions