You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explorer refresh not working for folders with same prefix #19377
bugIssue identified by VS Code Team member as probable bugfile-explorerExplorer widget issuesimportantIssue identified as high-priorityverifiedVerification succeeded
Ran Babel with new files in the source folder with output of new files to the output folder
Used the vscode explorer button to refresh, but did not see any new files in the output
I can the files with the windows explorer
If I shut down VSCODE and restart, I see the files.
File names are Counter.js, Counter.js.map
Here is the task that I am running to run Babel in watch mode:
{
"version": "0.1.0",
"command": "${workspaceRoot}/node_modules/.bin/babel.cmd",
"isShellCommand": true,
"tasks": [
{
"args": ["jsx-in", "--out-dir", "jsx", "-w", "--source-maps"],
"taskName": "watch",
"suppressTaskName": true,
"isBuildCommand": true, // make this the F1 > Task: Run Build Task gesture
"isWatching": true // tell VS Code not wait for this task to finish
}
]
}
Benjamin Pasero (@bpasero) , well if you are not hearing from others, it might have to do with the win7 and platform stuff, and not with the vscode app. But it is very easy to replicate what I have.
Create two folders at the workspace root (jsx-in, jsx)
Put a simple hello-world.jsx in the jsx-in
Add the tasks.json to setup babel to watch the jsx-in folder (shown below)., and start it up.
touch the hello-world and save, and then watch the output folder (jsx) and you will not see vscode showing new files, but the output and the windows explore will show new files.
{
"version": "0.1.0",
"command": "${workspaceRoot}/node_modules/.bin/babel.cmd",
"isShellCommand": true,
"tasks": [
{
"args": ["jsx-in", "--out-dir", "jsx", "-w", "--source-maps"],
"taskName": "watch",
"suppressTaskName": true,
"isBuildCommand": true, // make this the F1 > Task: Run Build Task gesture
"isWatching": true // tell VS Code not wait for this task to finish
}
]
}
bugIssue identified by VS Code Team member as probable bugfile-explorerExplorer widget issuesimportantIssue identified as high-priorityverifiedVerification succeeded
Activity
bpasero commentedon Jan 25, 2017
Please see if you can find any logged output that could help us find the source of the issue:
code --verbosefrom the command line and attach the outputThanks!
DrYSG commentedon Jan 25, 2017
This is the output from --verbose
This is what I get from the developer tools console. I don;t see any errors on pressing the refresh, so these were prior errors.
bpasero commentedon Jan 25, 2017
Dr. YSG (@DrYSG) are you somehow able to share with me the workspace and how to reproduce with the exact same setup and files?
DrYSG commentedon Jan 26, 2017
Benjamin Pasero (@bpasero) , well if you are not hearing from others, it might have to do with the win7 and platform stuff, and not with the vscode app. But it is very easy to replicate what I have.
babel config below:
Create two folders at the workspace root (jsx-in, jsx)
Put a simple hello-world.jsx in the jsx-in
Add the tasks.json to setup babel to watch the jsx-in folder (shown below)., and start it up.
touch the hello-world and save, and then watch the output folder (jsx) and you will not see vscode showing new files, but the output and the windows explore will show new files.
bpasero commentedon Jan 26, 2017
I can reproduce 👍
[-]Folder Refresh not working on Windows 7?[/-][+]Explorer refresh not working for folders with same prefix[/+]bpasero commentedon Jan 26, 2017
To verify:
jsx,jsx-in)Here is a video how it is broken in stable:
Explorer refresh not working for folders with same prefix (fixes micr…