> I would say the more desirable behavior would be not overwritting the
> input file and throws an error message.
> I've accidently overwrite the input too many times.
> What type of build system do you use? Can't you use compile to test.js.tmp
> and then "mv test.js.tmp test.js" after?
> On Thu, Dec 22, 2011 at 9:29 AM, zuxiong lin <linzuxiong1...@gmail.com>wrote:
>> Why do you need the same filename.?
>> Best paractice is --js_output_file test.min.js
>> 2011/12/22 Ash <agi...@gmail.com>
>>> I try to override my source file with compiled version at build time.
>>> >java -jar compiler.jar --js test.js --js_output_file test.js
>>> the above command succeed but the content of test.js gets wipped out.
>>> If I output to a different file then it works.
>>> What should i do to make it override the same file with minified
>>> version?