class Sprockets::Context
def depend_on(path)
the dependency file will invalidate the cache of the
This is used for caching purposes. Any changes made to
including it.
`depend_on` allows you to state a dependency on a file without
def depend_on(path) if environment.absolute_path?(path) && environment.stat(path) @dependencies << environment.build_file_digest_uri(path) else resolve(path) end nil end