# bin/console storefront:hot not compiling custom theme

**URL:** <https://forum.shopware.com/t/bin-console-storefront-hot-not-compiling-custom-theme/69433>\
**Category:** Themes & Design\
**Created:** [7. September 2020 um 19:52 UTC](https://forum.shopware.com/t/bin-console-storefront-hot-not-compiling-custom-theme/69433 "2020-09-07T19:52:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Donny](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@Donny](https://forum.shopware.com/u/Donny)\
**Post date:** [7. September 2020 um 19:52 UTC](https://forum.shopware.com/t/bin-console-storefront-hot-not-compiling-custom-theme/69433/1 "2020-09-07T19:52:01Z")

</div>

Hi,

I’m using Shopware 6 and want to create a custom theme. So I followed the manual and installed my “custom” theme. I started with some SCSS and ran the command “bin/console storefront:hot”. Then I visited my webshop and noticed that the style isn’t compiled. I kept the command line open with the command and changed my file, went back to the terminal and noticed that a change was found and the compile command didnt do anything. I decided to take a closer look at the terminal output:

&nbsp;

**Starting Execution of ‘storefront:hot’** (’/Users/donnyvangrondelle/Sites/Shopware/client-name/development/dev-ops/storefront/actions/hot.sh’)

(1/2) Starting

**\> bin/console theme:dump**

(2/2) Starting

**\> APP\_URL=https://shopware-nl.local PROJECT\_ROOT=/Users/donnyvangrondelle/Sites/Shopware/client-name/development/ ESLINT\_DISABLE=true npm --prefix vendor/shopware/platform/src/Storefront/Resources/app/storefront/ run-script hot**

&nbsp;

At the last line, I’ve spotted that the command is compiling the theme that is in the vendor folder and not the on in the custom/plugins/MyTheme.

Anyone has a answer for me? Am I doing something wrong?

Thank you!

---

<div class="post-metadata">

**Author:** ![devnullroot](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@devnullroot](https://forum.shopware.com/u/devnullroot)\
**Post date:** [8. September 2020 um 09:22 UTC](https://forum.shopware.com/t/bin-console-storefront-hot-not-compiling-custom-theme/69433/2 "2020-09-08T09:22:09Z")

</div>

Did you set `isHMRMode` to `true` in shopware-root/vendor/shopware/storefront/Resources/views/storefront/base.html.twig

```
{# set isHMRMode = app.request.headers.get('hot-reload-mode') #}
{% set isHMRMode = true %}

```

Cheers,  
devnullroot
