Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assets: fix first hot reloading (bevyengine#9804)
# Objective - Hot reloading doesn't work the first time it is used ## Solution - Currently, Bevy processor: 1. Create the `imported_assets` folder 2. Setup a watcher on it 3. Clear empty folders, so the `imported_assets` folder is deleted 4. Recreate the `imported_assets` folder and add all the imported assets - On a first run without an existing `imported_assets` with some content, hot reloading won't work as step 3 breaks the file watcher - This PR stops the empty root folder from being deleted - Also don't setup the processor internal asset server for file watching, freeing up a thread --------- Co-authored-by: Carter Anderson <[email protected]>
- Loading branch information