crosire / blink

A tool which allows you to edit source code of any MSVC C++ project live at runtime
BSD 2-Clause "Simplified" License
1.1k stars 80 forks source link

File watcher starts for the first file #4

Closed optimizedaway closed 5 years ago

optimizedaway commented 5 years ago

File watcher should be started for the common root path (d:\devel\pbr in this case), but starts for the first file (d:\devel\pbr\pbr\import\tangent.cpp). Non-existing files added by the linker should be ignored (onecoreuap\windows\directx\misc\dxguid\d3d10guid.cpp)

Reading PE debug info directory ...
  Found program debug database: D:\Devel\pbr\bin\Hot.x64\pbr.pdb
  Found source file: d:\devel\pbr\pbr\import\tangent.cpp
  Found source file: d:\devel\pbr\pbr\import\import_obj.cpp
  Found source file: d:\devel\pbr\pbr\import\import.cpp
  Found source file: d:\devel\pbr\pbr\gui\gui.cpp
  Found source file: d:\devel\pbr\pbr\event\tick.cpp
  Found source file: d:\devel\pbr\pbr\event\input_win.cpp
  Found source file: d:\devel\pbr\pbr\event\input.cpp
  Found source file: d:\devel\pbr\pbr\dx11\states11.cpp
  Found source file: d:\devel\pbr\pbr\dx11\render11.cpp
  Found source file: d:\devel\pbr\pbr\dx11\import11.cpp
  Found source file: d:\devel\pbr\pbr\dx11\device11.cpp
  Found source file: d:\devel\pbr\pbr\base\transform.cpp
  Found source file: d:\devel\pbr\pbr\base\log.cpp
  Found source file: d:\devel\pbr\pbr\base\hresult.cpp
  Found source file: d:\devel\pbr\pbr\base\file.cpp
  Found source file: d:\devel\pbr\pbr\base\allocator.cpp
  Found source file: d:\devel\pbr\pbr\app\main.cpp
  Found source file: d:\devel\pbr\imgui\imgui_widgets.cpp
  Found source file: d:\devel\pbr\imgui\imgui_draw.cpp
  Found source file: d:\devel\pbr\imgui\imgui_demo.cpp
  Found source file: d:\devel\pbr\imgui\imgui.cpp
  Found source file: onecoreuap\windows\directx\misc\dxguid\d3d10guid.cpp
Starting compiler process ...
  Started process with PID 7756
Starting file system watcher for 'd:\devel\pbr\pbr\import\tangent.cpp'