mako-stat
v1.0.1
Published
A mako plugin that adds a preread hook for stat-ing a file
Downloads
33
Readme
mako-stat
A plugin for checking a file's stat.
Purpose
- a way to fail fast by checking a file's existence before any other plugins
- populates
file.stat
for later plugins to consume - marks a file as dirty when the
mtime
changes between builds
API
stat(extensions)
The extensions
argument can be passed as either a single String
or an Array
of extensions.
(without the leading dot)