Skip to content

Commit

Permalink
Update flutter-web-hot-restart.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bsteinfeld authored Oct 11, 2024
1 parent 7446df2 commit b9286c4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/labs/flutter-web-hot-restart.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ However, in our Cloud IDE, this feature doesn’t work as expected. This is beca

To overcome this limitation, you can use the following bash script to monitor file changes and automatically restart your Flutter web server. The script will ensure that your project is rebuilt and the changes are visible in the browser, just like the hot restart would.

### Prerequisites

For the following script to work, please install `inotify-tools` by running the following commands in the terminal:

```bash
sudo apt update
sudo apt install -y inotify-tools
```

### Steps to Use the Script:

1. **Copy and Paste the Bash Script**
Expand Down

0 comments on commit b9286c4

Please sign in to comment.