1.0.2 • Published 5 years ago

@injectable/development-reload-service v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Development Reload Service

Service for reloading an injectable on file change.

This is an templete for developing an Injectable for the Injectable Core.

Caution

The service currently only watches the files in the directory specified in the package.json main attribute.
Because of the caching mechanism of the @injectable/server reloading an injectable only reloads its code but not the dependecies.

Configuration

This service uses the Config Service to get a configuration a startup from the config.json file.
A sample configuration which watches the sample-injectable could look like this.

{
    "injectables": [
        "sample-injectable"
    ]
}

License

See the LICENSE file for license rights and limitations (MIT).