Skip to content

Commit

Permalink
🩹 Check if Vite is running hot in the Vite middleware (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x authored Feb 22, 2025
1 parent 5d1f3c3 commit 410812d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Roots/Acorn/Assets/Middleware/ViteMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ViteMiddleware
*/
public function handle($config)
{
if (! Vite::manifestHash()) {
if (! Vite::manifestHash() && ! Vite::isRunningHot()) {
return $config;
}

Expand Down

0 comments on commit 410812d

Please sign in to comment.