Package Exports
- marko-hot-reload
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (marko-hot-reload) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
marko-hot-reload
Watch changes in Marko templates in a directory and notify Marko to hot reload them.
Installation
npm install marko-hot-reload
Usage
const markoHotReload = require('marko-hot-reload');
markoHotReload.watch({ templatesPath: '/path/to/templates/directory' });
Contribute
- Fork it:
git clone https://github.com/softonic/marko-hot-reload.git
- Create your feature branch:
git checkout -b feature/my-new-feature
- Commit your changes:
git commit -am 'Added some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D