Closed mbalande1 closed 6 years ago
Hi. I would really appreciate if someone could answer this. Thanks
Hi mbalande1,
in order to run the watch script, you will need the package.json file from repository. Unfortunately this tutorial does not go into much detail about this section although it is said in the beginning, that you can do it by hand.
In the package.json you will find an object script. The script you are looking for is defined here and as you will see it will call the webpack modue with the -- watch option and -d switch.
TL;DR to run the watch scrupt you need the package.json and node.js Best Regards
"Want to see your JavaScript changes automatically? Run npm run-script watch to put webpack into watch mode. It will regenerate bundle.js as you edit the source"
I am a bit new in this, could you please give me a bit more detail on to how to do this?