Skip to content

Files

This branch is 4 commits ahead of, 457 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