...
- Make a coding change to the footer shared component.
Build the shared library:
Code Block # Using a new terminal cd ~/edx/frontend-component-footer npm run build
- Watch for the hot-reload in the browser.
- Repeat as needed, or set up "
npm run watch
" to to automatically rebuild your shared app.- You may need to
npm install npm-watch
before runningnpm run watch
. See https://www.npmjs.com/package/npm-watch
- You may need to
Info |
---|
Based on your requirements, in some cases, it might be enough to set up a dev server in your shared package that provides you with an environment to demo, test, and develop your shared package. |
...