[Answered ]-Grunt exec freezes, expecting 0 status code from django collectstatic

2👍

✅

By default, django’s collectstatic command requires user input (confirmation that static files really should be collected), but grunt has no way to pass that input from user into collectstatic command. That will cause freeze because collectstatic is expecting something on input but grunt is not providing anything.

It can be changed by adding --noinput parameter into collectstatic command, so whole command will look like this:

python manage.py collectstatic --clear --noinput

And that will solve your problem.

Leave a comment