add live reloading to the client
This commit is contained in:
parent
7169e65244
commit
5ce9cfc022
6 changed files with 38 additions and 18 deletions
|
@ -17,6 +17,12 @@ clever to do while browser vendors figure that out, we'll just have to do a cach
|
|||
--}}
|
||||
<script type="importmap">{{{ import_map }}}</script>
|
||||
|
||||
{{#if dev}}
|
||||
<script type="module">
|
||||
import "treehouse/live-reload.js";
|
||||
</script>
|
||||
{{/if}}
|
||||
|
||||
<script>
|
||||
const TREEHOUSE_SITE = `{{ config.site }}`;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue