NPM Run Start not working

0
Hi Community,   I am currently facing an issue while developing custom pluggable widget. When I run npm run start the changes to jsx file is not getting reflected in browser. I have to rerun the app in studio pro to see the changes in widget's jsx. Can you assist on this?   I am using MxVersion 10.12.1
asked
3 answers
0

Hey Ravi, 

try npm start without run and check your path where are running that command.

https://www.npmjs.com/package/@mendix/generator-widget

image.png

Best regards, Slavko

answered
0

Hi Ravi,

 

Does your widget update in the browser after running `npm run build` and reloading the page without cache?

 

Regards,

Arjo

answered
0

Hi This issue resolved by opening developer tools-> Network tab -> Check disable cache. 

 

Note: Now you need to keep the developer tools open for disabled cache to work.

answered