Look for compiled static files, to see if they need to be created

This commit is contained in:
kevgliss 2015-08-11 14:53:28 -07:00
parent 590f43297f
commit b488c349e8
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class SmartInstall(install):
`build_static` which is required for JavaScript assets and other things.
"""
def _needs_static(self):
return not os.path.exists(os.path.join(ROOT, 'lemur-package.json'))
return not os.path.exists(os.path.join(ROOT, 'lemur/static/dist'))
def run(self):
if self._needs_static():