Skip to content
Run grunt/gulp watcher and django server with a single command
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
frontserver
.gitignore
README.md
setup.py

README.md

Django frontserver

Run grunt/gulp watcher and django server with a single command.

Install

$ pip install django-frontserver

Usage

Add frontserver to INSTALLED_APPS and run:

$ python manage.py frontserver [--apps=app1,app2] [--nodefault] [--nowatch] [runserver args]

This is the same as:

$ python manage.py runserver
$ gulp default watch

Or this if --apps=blog,shop:

$ python manage.py runserver
$ gulp blog blog:watch shop shop:watch

Configuration

FRONTSERVER = {
    'BUILDER': 'gulp', # Command for run
    'BUILDER_ARGS': '', # Additional command-line arguments
    'DEFAULT_TASK': 'default', # Name of default task
    'WATCH_TASK': 'watch', # Name of watch task
}
You can’t perform that action at this time.