Skip to content

Commit

Permalink
docs: add note about config setting
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Feb 11, 2025
1 parent a62ae13 commit 60abf8e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/livereload/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

The LiveReload module provides automatic browser refresh functionality when files in your ProcessWire project are modified. It uses Server-Sent Events (SSE) to efficiently detect and respond to file changes.

## Setup

To use the livereload feature you need to enable the RockDevTools module from your config:

```php
$config->rockdevtools = true;
```

Note: Enable RockDevTools only on development! RockDevTools is designed to never ever run on production.

## Configuration

### Watched Files
Expand Down

0 comments on commit 60abf8e

Please sign in to comment.