-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
There is a problem when developing remotely and more than one browser or two users access the application at the same time.
I suspect the issue is caused by concurrent access to the JSON cache file from WireSpy. It results in a 502 Bad Gateway error.
SupportHotReloading.php
The default cache path is:
protected string $cachePath = 'framework/cache/wire-spy-hot-reload.json';
As a temporary solution, I modified it so that each user gets their own cache file in the boot method:
$this->cachePath = 'framework/cache/wirespy' . session()->getId() . '.json';
Metadata
Metadata
Assignees
Labels
No labels