import {BuildNodeWatcherProcess} from 'projext/src/services/building/buildNodeWatcherProcess.js'
BuildNodeWatcherProcess
Extends:
This service watches directories in order to copy and/or transpile files into their build/distribution directories when they change.
Constructor Summary
Public Constructor | ||
public |
constructor(appLogger: Logger, buildTranspiler: BuildTranspiler, projectConfiguration: ProjectConfigurationSettings) |
Member Summary
Public Members | ||
public |
A local reference for the |
|
public |
A local reference for the |
Inherited Summary
From class NodeWatcher | ||
public |
Whether or not the service is watching. |
|
private |
This will be the instance of |
|
public |
Gets the list of paths the service is watching. |
|
public |
stop() Stops watching the directories. |
|
public |
Starts watching the directories. |
Public Constructors
public constructor(appLogger: Logger, buildTranspiler: BuildTranspiler, projectConfiguration: ProjectConfigurationSettings) source
Override:
NodeWatcher#constructorParams:
Name | Type | Attribute | Description |
appLogger | Logger | The inform on the CLI of the events of the watcher. |
|
buildTranspiler | BuildTranspiler | To transpile files if needed. |
|
projectConfiguration | ProjectConfigurationSettings | To read the watch settings. |