silverstripe / webpack-config

Reusable webpack bundle declarations for Silverstripe modules
BSD 3-Clause "New" or "Revised" License
16 stars 9 forks source link

Question: Hot reloading for developing CMS modules #42

Closed bumbus closed 4 years ago

bumbus commented 4 years ago

Hi there, is there a way to enable hot code reloading while developing CMS modules? Or what is the recommended way to accomplish frontend development of CMS features?

Thanks in advance Bumbus

robbieaverill commented 4 years ago

Hi, thanks for taking the time to post to our issue tracker.

The issue tracker is reserved for reporting bugs and we don't provide support via the issue tracker. There are great community support options where you can get help including our forum, Stack Overflow (remember to tag as silverstripe) and even Slack.

Sorry we can't be of more help and good luck resolving your problem!


@bumbus all of the SilverStripe core/satellite modules that use this module have project level configuration for watching and rebuilding of assets, but SilverStripe would probably need to be more React driven than it currently is before full hot reloading would be possible.

Take a look at modules like silverstripe/admin, silverstripe/cms, silverstripe/blog etc to see how webpack is configured (webpack.config.js and package.json "scripts" section).