Skip to content

Out of workspace files: Changes from git operations not reflected #2592

Closed

Description

As above. I've been testing it out by switching branches in git using terminal and the file does not update. Sublime & Atom do it immediately, but with Code you have to switch out and back into the file in order for it to update.

Activity

  1. bpasero commented on Feb 1, 2016

    @bpasero
    Contributor

    Constantin (@constantincerdan) on which OS is this? does it work when you edit one of the working files with another editor outside of Code?

    I assume the working files are not part of the folder you opened? Or are you not opening a folder at all?

  2. added
    bug
    info-needed
    on Feb 1, 2016
  3. constantincerdan commented on Feb 1, 2016

    @constantincerdan
    Author

    It's on Mac OSX. It doesn't work at all, even when the files are edited using another editor. I haven't opened any folders and have instead opened the file independently.

    -----Original Message-----
    From: "Benjamin Pasero" notifications@github.com
    Sent: ‎01/‎02/‎2016 10:22
    To: "Microsoft/vscode" vscode@noreply.github.com
    Cc: "Constantin" constantincerdan@gmail.com
    Subject: Re: [vscode] Working Files Not Watched (#2592)

    Constantin (@constantincerdan) on which OS is this? does it work when you edit one of the working files with another editor outside of Code?
    I assume the working files are not part of the folder you opened? Or are you not opening a folder at all?
    —
    Reply to this email directly or view it on GitHub.

  4. bpasero commented on Feb 1, 2016

    @bpasero
    Contributor

    Weird, works for me. See my recording and maybe see what I need to do different to reproduce:

    untitled

  5. constantincerdan commented on Feb 1, 2016

    @constantincerdan
    Author

    I just tested it now by changing it in a different editor, and this time it did auto update. However, it still doesn't work when switching branches in git (using Terminal). See my recording below:

    http://g.recordit.co/HYlpJq5ZSB.gif

  6. bpasero commented on Feb 2, 2016

    @bpasero
    Contributor

    I can reproduce and it looks like a bug in node.js: nodejs/node#5039

  7. added
    upstream
    and removed
    info-needed
    on Feb 2, 2016
  8. changed the title [-]Working Files Not Watched[/-] [+]Working files: Changes from git operations not reflected[/+] on Feb 2, 2016
  9. changed the title [-]Working files: Changes from git operations not reflected[/-] [+]Out of workspace files: Changes from git operations not reflected[/+] on Jul 5, 2016
  10. jack-guy commented on Jul 6, 2016

    @jack-guy

    Apparently this is intended behavior. Maybe chokadir can figure out a fix? I kind of doubt it though...

  11. bpasero commented on Nov 12, 2016

    @bpasero
    Contributor
  12. added
    *duplicate
    on Nov 12, 2016
  13. fatonsopa commented on Oct 30, 2017

    @fatonsopa

    Hi guys,

    this is still happening:

    npm -v 3.10.10
    node -v v6.11.5
    MacOS Sierra 10.12.6

    The file.watch is triggering the change only once per file. In windows is working perfectly.

    Researched a lot but couldn't find a working solution. Any idea?

    Thanks,
    Faton

  14. locked and limited conversation to collaborators on Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatebugupstream

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions