Skip to main content

A simple daemon to watch and collectstatic files for django projects

Project description

django-collectstatic-daemon

This is a simple daemon that will watch your project directory and collectstatic files whenever there is a change. This is often times useful when you are working with node/npm project and you need to collectstatic files after npm build/prod/watch converts the statis resources.

Install

  1. Install the package

    pip install django-collectstatic-daemon

  2. Add ‘watcher’ to your list of INSTALLED_APPS in settings.py

    INSTALLED_APPS = [
        ...
        ...
        'watcher'
    ]

Using

Using the command is as simple as running

./manage.py watcher

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-collecstatic-daemon-0.3.tar.gz (17.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page