Added a custom debug root path provider, this means we do not have to recompile the views every time we make a view change

This commit is contained in:
tidusjar 2016-07-14 11:53:19 +01:00
commit 7cf649c020
3 changed files with 50 additions and 0 deletions

View file

@ -103,6 +103,12 @@ namespace PlexRequests.UI
}
#if DEBUG
/// <summary>
/// Set's the root path to the views folder, this means we don't have to recompile the views for every change.
/// </summary>
protected override IRootPathProvider RootPathProvider => new DebugRootPathProvider();
#endif
protected override void ConfigureConventions(NancyConventions nancyConventions)
{
base.ConfigureConventions(nancyConventions);