Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mustard-mh committed Jan 10, 2025
1 parent 2dc912c commit 25a0204
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions components/ide/jetbrains/toolbox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@ echo "Watching for changes in $DEVCONTAINER_HOST:$REMOTE_DIR"
ssh $DEVCONTAINER_HOST "inotifywait -m -r -e modify,create,delete,move $REMOTE_DIR" | \
while read path action file; do
echo "[$(date '+%Y-%m-%d %H:%M:%S')] Change detected: $action $file"
# Make sure remote is build
sleep 3
rsync -avz --delete "$DEVCONTAINER_HOST:$REMOTE_DIR/" "$LOCAL_DIR/"

echo "[$(date '+%Y-%m-%d %H:%M:%S')] Change synced"
pkill -f 'JetBrains Toolbox' || true
echo debugClean > $HOME/Library/Logs/JetBrains/Toolbox/toolbox.log
code $HOME/Library/Logs/JetBrains/Toolbox/toolbox.log
# In case Toolbox refuses to start
sleep 3
open /Applications/JetBrains\ Toolbox.app
done
```
Expand Down

0 comments on commit 25a0204

Please sign in to comment.