Thanks for the nice loader. This PR adds file/folder watching so that vulcanize will re-run when elements change. Example syntax:
To watch files for changes, use a | separated list of relative filenames
To watch folders for changes, use a | separated list of relative directories
require("vulcanize?compress=true&base=/lib&watchFolders=./elements|./elements2&watchFiles=./elements3/a.html|./elements3/b.html!./imports.html");
// => returns i. e. "/lib/imports.html"
// rebuilds when any file in ./elements or ./elements2 changes
// rebuilds when ./elements3/a.html or ./elements3/b.html changes
You can try out the package by changing your packages.json:
Thanks for the nice loader. This PR adds file/folder watching so that vulcanize will re-run when elements change. Example syntax:
|
separated list of relative filenames|
separated list of relative directoriesYou can try out the package by changing your
packages.json
:"vulcanize-loader": "git+https://github.com/caleblloyd/vulcanize-loader#transpiled"