Skip to content

Commit

Permalink
Add migration guide notes on asset hot reloading (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
alice-i-cecile authored Nov 8, 2023
1 parent bf681ad commit 80a090b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/learn/migration-guides/0.11-0.12/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ app.register_asset_loader(MyAssetLoader)
.init_asset::<MyAsset>()
```

#### Asset hot-reloading

The feature `filesystem_watcher` has been renamed to `file_watcher`.
In addition, you no longer need to manually configure the `ChangeWatcher` in the `AssetPlugin` as it is now configured automatically when the feature is enabled.

#### Labeled assets

If your loader allows labeled assets, there are a couple of different ways to handle them. The simplest is to call `load_context.labeled_asset_scope`:
Expand Down

0 comments on commit 80a090b

Please sign in to comment.