files
type
submodule
files.watch
type
lazy attribute set of (submodule)
example
{
files.watch = {
FOO = {
cmd = "echo $file $dir $time $events";
event = {
modify = true;
};
exclude = ".+\\.png$";
files = "$PRJ_ROOT/src";
include = ".+\\.js$";
recursive = true;
};
};
}
default
{
files.watch = { };
}
files.watch.<name>.enable
type
boolean
default
{
files.watch.<name>.enable = true;
}
files.watch.<name>.cmd
type
string
files.watch.<name>.event
type
submodule
default
{
files.watch.<name>.event = { };
}
files.watch.<name>.event.access
type
boolean
default
{
files.watch.<name>.event.access = false;
}
files.watch.<name>.event.attrib
type
boolean
default
{
files.watch.<name>.event.attrib = false;
}
files.watch.<name>.event.close
type
boolean
default
{
files.watch.<name>.event.close = false;
}
files.watch.<name>.event.close_nonwrite
type
boolean
default
{
files.watch.<name>.event.close_nonwrite = false;
}
files.watch.<name>.event.close_write
type
boolean
default
{
files.watch.<name>.event.close_write = false;
}
files.watch.<name>.event.create
type
boolean
default
{
files.watch.<name>.event.create = false;
}
files.watch.<name>.event.delete
type
boolean
default
{
files.watch.<name>.event.delete = false;
}
files.watch.<name>.event.modify
type
boolean
default
{
files.watch.<name>.event.modify = true;
}
files.watch.<name>.event.move
type
boolean
default
{
files.watch.<name>.event.move = false;
}
files.watch.<name>.event.move_from
type
boolean
default
{
files.watch.<name>.event.move_from = false;
}
files.watch.<name>.event.move_to
type
boolean
default
{
files.watch.<name>.event.move_to = false;
}
files.watch.<name>.event.open
type
boolean
default
{
files.watch.<name>.event.open = false;
}
files.watch.<name>.event.unmount
type
boolean
default
{
files.watch.<name>.event.unmount = false;
}
files.watch.<name>.exclude
type
string
default
{
files.watch.<name>.exclude = "(.*/\\.|.+~$)";
}
files.watch.<name>.excludei
type
string
default
{
files.watch.<name>.excludei = "";
}
files.watch.<name>.files
type
strings concatenated with "\n"
default
{
files.watch.<name>.files = "$PRJ_ROOT";
}
files.watch.<name>.follow
type
boolean
default
{
files.watch.<name>.follow = false;
}
files.watch.<name>.include
type
string
default
{
files.watch.<name>.include = "";
}
files.watch.<name>.includei
type
string
default
{
files.watch.<name>.includei = "";
}
files.watch.<name>.recursive
type
boolean
default
{
files.watch.<name>.recursive = true;
}
files.watch.<name>.timefmt
type
string
default
{
files.watch.<name>.timefmt = "%FT%T.000%zZ";
}