@injectable/development-reload-service
v1.0.2
Published
service for reloading an injectable on file change
Downloads
2
Readme
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).