title: Razor runtime recompilation does not seems to work with *.razor component files
body: <p>I'm testing the new Razor Components (aka. Server Side Blazor) and I'm finding the need to stop the project, edit, recompile and restart the server, very time consuming. I want to edit the *.razor files, save, press F5 on the browser, and done.</p>
  
  <p>I know there is a <a href="https://github.com/aspnet/Announcements/issues/343" rel="noreferrer">breaking change</a> on ASP.NET Core 3, that prevented this from happening for a while. But now, there is a "fix": you just need to install the package <code>Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation</code>, and setup the service like that:</p>
  
  <pre><code>services.AddMvc()
  .AddRazorRuntimeCompilation();
  </code></pre>
  
  <p>(Yes, without Mvc, see <a href="https://github.com/aspnet/AspNetCore.Docs/issues/11427" rel="noreferrer">this</a>)</p>
  
  <p>But that does not seems to work - at least, I did not try with cshtml files, since I am only using *.razor in my tests.</p>
  
  <p>I also did:</p>
  
  <pre><code>services.AddMvc()
  .AddRazorRuntimeCompilation((options) =&gt;
  {
      foreach (var item in Directory.GetFiles(Directory.GetCurrentDirectory(), "*.razor", SearchOption.AllDirectories))
      {
          options.AdditionalReferencePaths.Add(item);
      }
  });
  </code></pre>
  
  <p>Without any luck.</p>
  
  <p>Is this not yet supported or I am doing something wrong?</p>