Skip to content

Watch mode is not calling dotnet restore

C:\Program Files\dotnet\dotnet.EXE  fable  webpack-dev-server --port free
No executable found matching command "dotnet-fable"
Finished (Failed) 'Watch' in 00:00:01.5673276

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target        Duration
------        --------
Clean         00:00:00.0110296
Install       00:00:09.4141441
YarnInstall   00:00:27.5941273
Watch         00:00:01.5672391   (dotnet fable failed with code 1)
Total:        00:00:38.6781599
Status:       Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Watch' failed.
-> One or more errors occurred. (dotnet fable failed with code 1)
-> dotnet fable failed with code 1

manually calling dotnet restore build.proj fixes the problem