Skip to content

About

Livereload your golang echo labstack web app to increase the development experience.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livereload

Livereload your golang echo labstack web app to increase the development experience. This library only works with echo framework.

Install

go get github.com/sevaho/livereload

How to use

import (
	"github.com/labstack/echo/v4"
	"github.com/rs/zerolog/log"
)

e := echo.New()

e.Use(livereload.LiveReload(e, log.Logger, "directory A", "directory B"))

And add the following to every HTML file or to a layout html file:

<script src="/livereload.js"></script>

Check out the example!

demo.gif

About

Livereload your golang echo labstack web app to increase the development experience.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages