diff --git a/homeassistant/__main__.py b/homeassistant/__main__.py
index 6f937d6916e..658e64ad145 100644
--- a/homeassistant/__main__.py
+++ b/homeassistant/__main__.py
@@ -5,6 +5,7 @@ import sys
import os
import argparse
import subprocess
+import importlib
DEPENDENCIES = ['requests>=2.0', 'pyyaml>=3.11', 'pytz>=2015.2']
IS_VIRTUAL = (getattr(sys, 'base_prefix', sys.prefix) != sys.prefix or
@@ -123,6 +124,9 @@ def main():
validate_python()
validate_dependencies()
+ # Windows needs this to pick up new modules
+ importlib.invalidate_caches()
+
bootstrap = ensure_path_and_load_bootstrap()
validate_git_submodules()
@@ -133,11 +137,10 @@ def main():
config_path = ensure_config_path(config_dir)
if args.demo_mode:
- from homeassistant.components import http, demo
+ from homeassistant.components import frontend, demo
- # Demo mode only requires http and demo components.
hass = bootstrap.from_config_dict({
- http.DOMAIN: {},
+ frontend.DOMAIN: {},
demo.DOMAIN: {}
})
else:
diff --git a/homeassistant/components/frontend/version.py b/homeassistant/components/frontend/version.py
index c91c3ef9726..4a67ed0fc0e 100644
--- a/homeassistant/components/frontend/version.py
+++ b/homeassistant/components/frontend/version.py
@@ -1,2 +1,2 @@
""" DO NOT MODIFY. Auto-generated by build_frontend script """
-VERSION = "fcdb0ebfe95f973b1354ede21966454f"
+VERSION = "4f94fd4404583fbf27cc899c024d26ff"
diff --git a/homeassistant/components/frontend/www_static/frontend.html b/homeassistant/components/frontend/www_static/frontend.html
index b101972ce68..023347483cb 100644
--- a/homeassistant/components/frontend/www_static/frontend.html
+++ b/homeassistant/components/frontend/www_static/frontend.html
@@ -4857,11 +4857,11 @@ paper-ripple {
font-weight: 300;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
- }