• Load xarc development tasks that can be invoked using @xarc/run

    You can override any of the tasks here by loading your own using the same name with a different namespace (ie: "user").

    For example:

    import { getDevTaskRunner, loadXarcDevTasks } from "@xarc/app-dev/lib/dev-tasks"

    const xrun = getDevTaskRunner();

    xrun.load("user", {
    check: xrun.exec("echo my custom check task")
    });

    loadXarcDevTasks();

    Parameters

    • Optional userXrun: any

      @xarc/run task runner. pass null and an internal version will be used.

    • userOptions: XarcOptions = {}

      user provided options to configure features etc

    Returns any

    The @xarc/run task runner instance that was used.