github.com/GoogleContainerTools/skaffold@v1.39.18/examples/react-reload-docker/README.md (about)

     1  ### Example: React app with hot-reload
     2  
     3  [![Open in Cloud Shell](https://gstatic.com/cloudssh/images/open-btn.svg)](https://ssh.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleContainerTools/skaffold&cloudshell_open_in_editor=README.md&cloudshell_workspace=examples/react-reload-docker)
     4  
     5  Simple React app demonstrating the file synchronization mode in conjunction with webpack hot module reload.
     6  
     7  #### Init
     8  
     9  ```bash
    10  skaffold dev
    11  ```
    12  
    13  #### Workflow
    14  
    15  * Make some changes to `HelloWorld.js`:
    16      * The file will be synchronized to the cluster
    17      * `webpack` will perform hot module reloading
    18  * Make some changes to `package.json`:
    19      * The full build/push/deploy process will be triggered, fetching dependencies from `npm`