Skip to content

Files

Latest commit

f132ab2 · Jan 23, 2025

History

History
This branch is 4 commits behind GoogleContainerTools/skaffold:main.

react-reload

Example: React app with hot-reload

Open in Cloud Shell

Simple React app demonstrating the file synchronization mode in conjunction with webpack hot module reload.

Init

skaffold dev

Workflow

  • Make some changes to HelloWorld.js:
    • The file will be synchronized to the cluster
    • webpack will perform hot module reloading
  • Make some changes to package.json:
    • The full build/push/deploy process will be triggered, fetching dependencies from npm