Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/drake/mod.ts>Task#isOutOfDate

Drake is a make-like task runner for Deno.
Latest
method Task.prototype.isOutOfDate
import { Task } from "https://deno.land/x/drake@v1.7.0/mod.ts";

Return true if:

  • The target file does not exist.
  • The target file or any of the prerequisite files have changed since the task was last executed successfully.
  • The Drake version or the operating system has changed since the task was last executed successfully.

Throw error is one or more prerequisite files are missing.

Returns

boolean