Namespace: watch

watch

Watches styles, scripts, tests, the main HTML for changes.

If there's a change in:

  • paths.app.styles the styles task is executed.
  • paths.app.scripts the lint:scripts, test:run tasks are executed. If the change is a new or removed or renamed file, the inject task is executed additionally.
  • paths.tests, the lint:tests and test:run task is run.
  • paths.app.mainHtml the inject task is executed.
  • paths.app.assets the assets:temp task is executed.

Used internally by dev.

Source: