Hi Thiago, No, I give it a try now.
Thanks for the response. Will let you know the outcome :) Regards Akshay On Fri, Sep 26, 2014 at 12:00 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 25 Sep 2014 18:53:14 -0300, akshay <akshayestat...@gmail.com> > wrote: > > Hi Thiago, >> > > Hi! > > I had a servlet before doing this for me , but now with the requirement >> to modify .less files. I converted the Servlet into the Request Filter( >> added that filter into the AppModule class). Doing this yields me the >> desired >> output, but only in development mode(not in production mode). I want to >> achieve the same behavior in production mode. I debugged into the Request >> transfomer class and found that the resources are looked for changes(not >> without a server restart), only in the development mode. >> > > As Lance already said, in production mode, assets are expected to *not* > change, so you need to take another route. In addition, changing the asset > programatically in the filesystem is a bad idea. The Less pipeline doesn't > expect you do that. > > Wondering, how can I get a solution for it. >> > > Have you checked the solution I proposed in my previous e-mail? ;) > > Tapestry uses WRO4J (https://code.google.com/p/wro4j/) for Less > compiling, so you can use easily use it before you generated your Less file. > > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Cheers!! Akshay