Open skylarmb opened 6 years ago
Could you provide your grunt configuration or how are you processing the files?
A runnable example would be best so I can reproduce the issue.
Simplified example: https://github.com/skylarmb/grunt-processhtml-example
just npm install && npm run build
and check out the output in _build/index.html
I would like to define a template html file with variables in it, then include it multiple times with different variables during the build. The issue is the first time a file is included with
build:include
, the contents of the file is processed and included correctly. I then update the variables and include the file again, but it just included the same content as was generated by the first time it was built. Is there some caching going on or something?Example:
template.html
index.html
result: