API Docs for:
Show:

Tasks Class

Class to initiate watcher and run build tasks using ng-task-runner

Constructor

Tasks

()

Methods

decideTasks

(
  • changedFile
)
private

Decide which tasks to run depending upon file changed

Parameters:

  • changedFile String

    path to file changed

parse

() Promise

parse list of tasks written inside ng-task-runner/tasks.js file

Returns:

Promise:

Returns promise string with success or error

registerWatchers

()

register all required watchers to watch for file changes and run parsed tasks

runTasks

()

Run all tasks in one go for one time