Comments (12)
From @gregvanl on April 7, 2016 17:44
Also repros on 0.10.14-insiders
from vscode-filewatcher-windows.
From @gregvanl on April 7, 2016 19:20
Doesn't repro on Windows 8.1 and 10
from vscode-filewatcher-windows.
From @gregvanl on April 7, 2016 20:1
Simpler repro:
Just create a new file with notepad, add text and save.
Doesn't show up in the explorer until you either restart or run refresh.
from vscode-filewatcher-windows.
From @gregvanl on April 8, 2016 0:7
I've reproduced this on two different Windows 7 VMs. I can grant access to anyone who wants to take a look.
from vscode-filewatcher-windows.
From @gregvanl on April 8, 2016 0:45
I'm using http://xlab DevDiv Private Cloud VMs for my testing. It's very easy to create Windows 7 machines for testing. I assume the Zurich team has access to this service.
from vscode-filewatcher-windows.
From @gregvanl on April 8, 2016 5:43
This is very consistent (100%) on the xlab VMs but I haven't been able to repro this on other Windows 7 machines.
from vscode-filewatcher-windows.
Can you try to run VS Code in verbose mode?
- find the Code.exe in the programs folder
- execute
code.exe --verbose
You should then get the file events logged to the dev console.
from vscode-filewatcher-windows.
From @gregvanl on April 8, 2016 15:34
This issue is that Electron requires .NET 4.5 since it uses System.Threading.Tasks.Task.Delay(Int32) which came with .NET 4.5. https://msdn.microsoft.com/en-us/library/hh194873(v=vs.110).aspx
Windows 7 on the VMs only has .NET 4.
Here's the exception stack from the debug console:
[FileWatcher] process error: System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task System.Threading.Tasks.Task.Delay(Int32)'.
at FileWatcher.EventProcessor.ProcessEvent(FileEvent fileEvent)
at VSCode.FileSystem.Program.<>c__DisplayClass8.
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
from vscode-filewatcher-windows.
From @gregvanl on April 8, 2016 15:36
Do we want to detect that .NET 4.5 is missing and alert the user?
I will add this requirement to the docs in setup.md.
I think this explains some of the verbatim we see where various walkthroughs like the CSS topic don't work at all for users.
from vscode-filewatcher-windows.
From @gregvanl on April 8, 2016 15:53
I think we should alert the user when VS Code sees a MissingMethodException. Windows 7 still has the highest market share of the Windows OSs and the experience when we eat this exception is poor since the File Watcher isn't working.
from vscode-filewatcher-windows.
From @gregvanl on April 8, 2016 16:42
Note: .NET 4.5 is only an optional update for Windows 7
from vscode-filewatcher-windows.
Now showing a message to the user.
from vscode-filewatcher-windows.
Related Issues (15)
- File events broken when opening workspace outside of a VM HOT 3
- Not firing events HOT 1
- Closing tab on file delete (View email source - Outlook 2013)
- Watcher doesn't notice if root folder changed
- Renamed event detection? HOT 1
- undetected changes - unable to save HOT 1
- Isn't it possible to run a node command when file change?
- Add Windows ARM64 support HOT 2
- Watcher does not support watching symbolic links HOT 2
- Should try to write a cross platform file watcher using CoreCLR
- Watcher fails on Sharepoint connections
- Missing some file changes HOT 1
- Windows 7: Watcher fails for subst directories
- File watcher fails over Samba share HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-filewatcher-windows.