NodeWatcher
Direct Subclass:
A helper class for creating services that rely on watching directories and copying and/or transpiling files.
Constructor Summary
Public Constructor | ||
public |
constructor(watchpackOptions: WatchpackOptions) |
Member Summary
Public Members | ||
public |
Whether or not the service is watching. |
Private Members | ||
private |
This will be the instance of |
Method Summary
Public Methods | ||
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(watchpackOptions: WatchpackOptions) source
Params:
Name | Type | Attribute | Description |
watchpackOptions | WatchpackOptions |
|
Custom options for |
Public Members
Private Members
Public Methods
public watch(paths: Array, transpilationPaths: Array, copyPaths: Array): Watchpack source
Starts watching the directories.
Params:
Name | Type | Attribute | Description |
paths | Array | The list of directories the service will watch. |
|
transpilationPaths | Array |
|
A list of dictionaries with |
copyPaths | Array |
|
A list of dictionaries with |