Y
Hacker News
new
|
ask
|
show
|
jobs
by
unhammer
1462 days ago
is `dotnet watch` basically `git ls-files|entr dotnet build` ?
(entr is
http://eradman.com/entrproject/
– like inotifywait but easier)
3 comments
klysm
1462 days ago
It may as well be. It can do some legit hot reload, but the set of scenarios where it works is so small it’s effectively useless.
link
exyi
1462 days ago
Yea, the drama occurred when it was in preview, so we all thought it's going to have real hot-reload capability as we know from webdev.
link
JamesSwift
1462 days ago
No, it has a lot of bytecode level intelligence to surgically replace the parts of the program that need replaced (as I understand it). Your version just re-runs the project from scratch whenever a change occurs.
link
ygra
1462 days ago
I think it also replaces the running code on the fly.
link