- Edit the gulp command to set the THEME to the relative path (from the docroot) to your custom theme.
- Copy the edited command to your project's .ddev/commands/web directory.
now you can run ddev gulp
and it will build your theme.
Contributed by @hotwebmatter (Matthew Obert)