Open TechMagister opened 7 years ago
:+1:
Maybe make it more generic and support any extensions so you could provide a list of extensions to watch? That way if they have both erb
and slang
in the same project, they can provide both. Also if they have other support files like xml
, that they can add them to be watched as well. Thoughts?
Yes, using an -e
option like this :
kgen watch -e xml -e slang -e whatever
It will add "./src/**/*.xml"
, "./src/**/*.slang"
and "./src/**/*.whatever"
to the watch list.
:+1: Excellent!
An idea : -> Add options to watch templates files
ex:
-t erb
=> add -w "./src//*.erb"-t slang
=> add -w "./src/*/.slang"-t liquid
=> add -w "./src//*.liquid"and so on.
What do you think ?