Skip to content

Latest commit

 

History

History

react-reload-docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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