Skip to content

Commit

Permalink
Add “Waiting for file changes” placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
PhiloNL committed Oct 14, 2024
1 parent f7b2b84 commit e7fdb75
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions resources/views/tabs/hot-reload.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
Enable hot reload
</button>
</div>
<div x-show="hotReload" class="inline-block min-w-full py-2 align-middle">
<table class="min-w-full divide-y divide-gray-700">
<div x-show="!hotReloadEvents.length && hotReload" class="flex w-full justify-center items-center text-slate-500 text-sm">
Waiting for file changes
</div>
<div x-show="hotReload && hotReloadEvents.length" class="inline-block min-w-full py-2 align-middle">
<table x-show="hotReloadEvents.length" class="min-w-full divide-y divide-gray-700">
<thead>
<tr>
<th scope="col" class="py-2 pl-4 pr-3 text-left text-sm font-semibold">Changed File</th>
Expand Down

0 comments on commit e7fdb75

Please sign in to comment.