当我运行“ dotnet watch run”时,它始终报告csproj文件已更改,而根本没有更改。想知道是否有人可以帮助我解决这个问题。
我正在使用2.1.401版的dotnet
watch : The file watcher observing 'C:\munlai\websitepractice\EpdAsset\' encountered an error: Too many changes at once in directory:C:\munlai\websitepractice\EpdAsset\.
watch : Exited with error code 1
watch : File changed: C:\munlai\websitepractice\EpdAsset\EpdAsset.csproj
watch : Started
watch : The file watcher observing 'C:\munlai\websitepractice\EpdAsset\' encountered an error: Too many changes at once in directory:C:\munlai\websitepractice\EpdAsset\.
watch : Exited with error code 1
watch : File changed: C:\munlai\websitepractice\EpdAsset\EpdAsset.csproj
watch : Started
...............
它只会不断退出并启动。漫长的等待后,启动将成功。
我已经记录了C:\ munlai \ websitepractice \ EpdAsset中发生的一些活动。在node_module文件夹中发生这么多活动是否正常:
已修改(12/9/2018 11:55:00 PM):c:\ munlai \ websitepractice \ EpdAsset \ obj \ Debug \ netcoreapp2.0 \ EpdAsset.assets.cache 修改(12/9/2018 11:55:08 PM):c:\ munlai \ websitepractice \ EpdAsset \ obj \ Debug \ netcoreapp2.0 \ EpdAsset.assets.cache 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ package.json 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add.travis.yml 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ binding.gyp 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ fsevents.cc 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ package.json 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ install.js 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ install.js 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add.travis.yml 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ Readme.md 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ binding.gyp 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build.target.mk 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ LICENSE 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ fsevents.js 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ fsevents.js 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ binding.Makefile 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ action_after_build.target.mk 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ ISSUE_TEMPLATE.md 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ ISSUE_TEMPLATE.md 修改(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ fsevents.cc 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build.target.mk 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ binding.Makefile 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ Readme.md 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ LICENSE 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ gyp-mac-tool 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ fse.target.mk 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ fse.target.mk 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Makefile 新增功能(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ gyp-mac-tool 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ action_after_build.target.mk 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Makefile 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release \ fse.node.d 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release.node.d 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release.node.d 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release \ obj.target 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release \ obj.target \ action_after_build.stamp.d 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release \ obj.target \ action_after_build.stamp.d 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release \ obj.target \ fse 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release \ obj.target \ fse \ fsevents.o.d 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Users \ eshanker \ Code 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release \ obj.target \ fse \ fsevents.o.d 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Users \ eshanker \ Code \ fsevents 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Users 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Users \ eshanker \ Code \ fsevents \ lib \ binding \发布 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Users \ eshanker \ Code \ fsevents \ lib 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Users \ eshanker 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Users \ eshanker \ Code \ fsevents \ lib \ binding \发行版\ node-v64-darwin-x64 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Users \ eshanker \ Code \ fsevents \ lib \ binding 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Users \ eshanker \ Code \ fsevents \ lib \ binding \发行版\ node-v64-darwin-x64 \ fse.node.d 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.node 修改时间(2018/12/9 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Users \ eshanker \ Code \ fsevents \ lib \ binding \发行版\ node-v64-darwin-x64 \ fse.node.d 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release \ obj.target \ action_after_build.stamp 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release \ obj.target 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.deps \ Release \ fse.node.d 修改(12/9/2018 11:55:15 PM):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release.node 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release \ fse.node 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release \ obj.target \ fse 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ build \ Release \ obj.target \ fse \ fsevents.o 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v11-darwin-x64 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v11-darwin-x64 \ fse.node 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v46-darwin-x64 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v46-darwin-x64 \ fse.node 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v47-darwin-x64 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v47-darwin-x64 \ fse.node 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v48-darwin-x64 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v48-darwin-x64 \ fse.node 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v57-darwin-x64 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v57-darwin-x64 \ fse.node 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v64-darwin-x64 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ lib \ binding \ Release \ node-v64-darwin-x64 \ fse.node 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ src \ async.cc 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ src 新增(2018/12/9下午11:55:15):c:\ munlai \ websitepractice \ EpdAsset \ node_modules.staging \ fsevents-b9645add \ src \ locking.cc
.......................