I am trying to accomplish the following.
I have raw assets such as JavaScript source files in folder assets/js
in application root. I also have folder public
where should go minified files that will be loaded in application.
What I want is when I change my js files I want to IDE create minified versions of it, and then to merge those minified files into one in public
folder.
I need two file watchers but don't know how to configure them.
I tried default options for YUI Compressor and those build minified files in the same folder where source files are. But I can't manage to merge those files with File Watcher.
I also created two scopes, one for source JS files, and one for minified JS files.
I am not even sure if File Watchers can do this. I am talking about multiple folders, and recursive scopes.
I would appreciate any help.