HendrixString / adobe-cep-react-create

Create Adobe-CEP extension with React, Material-UI, Native Node modules, Webpack, Babel and ExtendScript
Apache License 2.0
125 stars 27 forks source link

Enabling hotloading #5

Closed ssbozy closed 5 years ago

ssbozy commented 5 years ago

Hi Tomer, Quick question: Is there a way to setup hotloading in the app to avoid npm run build after every code modification?

HendrixString commented 5 years ago

hi @ssbozy

unfortunately no, BUT, if the only thing you try to test is UI, then you can just npm start and it will start the project in the browser and then you will have updates everytime you make changes to the files, you get it for free via webpack dev server.

I used this feature A LOT to setup my UI and iterate quickly

hope this helps

ssbozy commented 5 years ago

Hi @HendrixString Thanks for the quick tip. I am also trying to run some CSInterface commands along with the UI and testing both without having hotloading seems to be a pain.

HendrixString commented 5 years ago

I feel your pain in that matter