As reported in bug 1785374, run and compile and run no longer work.
Changing the function ExecuteAndWatch() to use short paths fixes the problem on Windows.
Windows, Classes, utils;
sFileName := GetShortName(sFileName);
sPath := GetShortName(sPath);
I attached my new version of the file.