Skip to content

Commit

Permalink
Add make command for warming image styles via drush
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbaese committed Jun 30, 2022
1 parent 6938123 commit d8ef8c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ cr:
warm:
@vendor/bin/drush warmer:enqueue jsonapi --run-queue

## warm-images : Warm image styles.
.PHONY: warm-images
warm-images:
@vendor/bin/ddev drush image-style-warmer:warm-up

## gi : Generate queued image styles.
.PHONY: gi
gi:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ make mm-on # maintenance mode on
make mm-off # maintenance mode off
make cr # clear caches
make warm # warm caches
make warm-images # warm up image styles
make gi # generate queued image styles
make fis # flush all image styles
make install # (re-)install Drupal (only available in development)
Expand Down

0 comments on commit d8ef8c6

Please sign in to comment.