Possibility to avoid recompiling unchanged files
My projects includes lots of js bundles (around 10) and each time I change something in a bundle when I deploy to production it django-pipeline compiles all the bundles (each taking around 7 seconds.) I was wondering if it's possible to avoid this and only compile outdated bundles. I'm using a custom compiler and I'm checking outdated:
if not force and not outdated:
# File doesn't need to be recompiled
return
But seems like in production environment django-pipeline forces the update. Am I missing something?
How did you solve this issue?
I'm struggling with the fact that the build (compilation of SCSS to CSS is performed each time). I tried setting PIPELINE_ENABLED to True and settings.Debug to False just to see if that would work on a production environment, but I get a 404 for each of css and js files for foundation framework even though it works well when in development.
@h4k1m0u it still compiles all files each time I deploy to production, didn't solve.
I guess I would have to put the compiled CSS link directly inside my html when I deploy it (although I thought that's not really the pipeline way).