public static void OnInitialized(IFileWatcherService fileWatcherService, IHandlebarsCompileService compileService)
        {
            var templatesPath = HostingEnvironment.MapPath(HandlebarsCompileConfig.TemplatesPath);
            var compiledFile  = HostingEnvironment.MapPath(HandlebarsCompileConfig.CompiledFilePath);

            if (!File.Exists(compiledFile))
            {
                compileService.PrecompileHandlebarsTemplate(compiledFile, templatesPath);
            }

            if (HandlebarsCompileConfig.IsEnabled)
            {
                fileWatcherService.WatchOnDirectory(templatesPath, () => compileService.PrecompileHandlebarsTemplate(compiledFile, templatesPath));
            }
        }