Skip to content

Commit

Permalink
Make the startup error about missing dist clearer and up-to-date (Pok…
Browse files Browse the repository at this point in the history
  • Loading branch information
chuyskywalker authored and JZ6 committed Aug 8, 2016
1 parent 7358e18 commit 3ce7bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
# Let's not forget to run Grunt / Only needed when running with webserver
if not args.no_server:
if not os.path.exists(os.path.join(os.path.dirname(__file__), 'static/dist')):
log.critical('Please run "grunt build" before starting the server');
log.critical('Missing front-end assets (static/dist) -- please run "npm install && npm run build" before starting the server');
sys.exit();

# These are very noisey, let's shush them up a bit
Expand Down

0 comments on commit 3ce7bd6

Please sign in to comment.