Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 777 Bytes

README.md

File metadata and controls

40 lines (34 loc) · 777 Bytes

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