Skip to content

64lines/hot-reload-server-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Hot Reloader

This is a lightweight hot reload service written in Go for your front-end projects, it deploys a local service that hot reloads your any file you specify in any directory you specify.

Configuration

Under config.json you can find the configuration of the Hot Reloader Server.

  • location: Here you can specify the path you want the service to listen changes to.
  • port: Here you can update the port where the service will be running.
  • filename: Here you can specify the name of the file you want to see served and hot-reloaded.

Run

go run .
image

Compile

If you want to compile the project to obtain a binary of it you can do so running the following commands:

# Creates executable
go build .

# Executes the server
./hotreload

About

Simple hot reload service written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors