import {BuildNodeRunner} from 'projext/src/services/building/buildNodeRunner.js'
BuildNodeRunner
This service provides a simple interface for running targets on a development environment using
Nodemon
. The actual service that does the 'running' is buildNodeRunnerProcess
, but this
one takes care of reading and processing a target settings before telling the other service
to start Nodemon.
Constructor Summary
Public Constructor | ||
public |
constructor(buildNodeRunnerProcess: BuildNodeRunnerProcess, projectConfiguration: ProjectConfigurationSettings, targets: Targets, utils: Utils) Class constructor. |
Member Summary
Public Members | ||
public |
A local reference for the |
|
public |
A local reference for the |
|
public |
A local reference for the |
Method Summary
Public Methods | ||
public |
Run a target with Nodemon. |
Public Constructors
public constructor(buildNodeRunnerProcess: BuildNodeRunnerProcess, projectConfiguration: ProjectConfigurationSettings, targets: Targets, utils: Utils) source
Class constructor.
Params:
Name | Type | Attribute | Description |
buildNodeRunnerProcess | BuildNodeRunnerProcess | To actually run a target process. |
|
projectConfiguration | ProjectConfigurationSettings | To read the targets and their templates. |
|
targets | Targets | To get the information of the included targets. |
|
utils | Utils | To normalize executable extensions. |
Public Members
public buildNodeRunnerProcess: BuildNodeRunnerProcess source
A local reference for the buildNodeRunnerProcess
service.