Skip to content

rikkimax/livereload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 

Repository files navigation

livereload

Manages live reloading capabilities for e.g. Cmsed

Example configuration file

# live reload config

# code_unit: is a glob
code_unit: dynamic/routes/*.d
code_unit: static
output_dir: bin

dir_dependencies:
	# is a glob
	dynamic/routes/*.d
		# is a glob
		dynamic/caches/*.d
		dynamic/templates/*
		dynamic/models/*.d
		dynamic/config/*
	static/*
		static/templates/*
		static/config/*

grab_dependency_from_output:
	# is a glob
	template = dynamic/templates/*
	datamodel = dynamic/models/*.d
	template = static/templates/*
	datamodel = static/models/*.d

Please note the first line is required.
Stdout is stored as: bin/OUTPUTDIRNAME/stdout.log
Note OUTPUTDIRNAME is generated based on e.g. time and file.

TODO:

  • Release builds

About

Manages live reloading capabilities for e.g. Cmsed

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages