jwvdiermen / grunt-include-source

Include lists of files into your source files automatically.
MIT License
68 stars 31 forks source link

Include sources in the same file #32

Closed gkaimakas closed 9 years ago

gkaimakas commented 9 years ago

Currently when using grunt-include-source and specifying same input and output files in the output file the comments <-- include etc --> are removed and therefore I have to use a tmp file to do code.

Would it be difficult if the comments weren't deleted every time the script runs ?

jwvdiermen commented 9 years ago

Take a look at this part of the readme: https://github.com/jwvdiermen/grunt-include-source#overwriting-files

This should do what you are looking for.

gkaimakas commented 9 years ago

Thanks!!! I think that you should put it in the documentation On Jan 31, 2015 1:00 PM, "Jan Willem van Diermen" notifications@github.com wrote:

Take a look at this part of the readme: https://github.com/jwvdiermen/grunt-include-source#overwriting-files

This should do what you are looking for.

— Reply to this email directly or view it on GitHub https://github.com/jwvdiermen/grunt-include-source/issues/32#issuecomment-72313399 .