RC-Paves3-build / plovr

Automatically exported from code.google.com/p/plovr
0 stars 0 forks source link

Raw with warnings mode? #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I really like RAW mode during development so I can see the source in firebug 
without the hassle of a mappings file.

But I also really like to see the warnings without having to remind myself to 
compile occasionally. :-)

It would be nice to have a mode that would:
(1) compile the code to get the warnings and errors, 
(2) add scripts for the (uncompiled) js files as in RAW mode, and 
(3) add another script that includes the plovr function that is normally 
included at the bottom of compiled files.

-dallan

BTW, Thank-you for a *great* tool.  After reading about modules in your book I 
realized that I could use closure library in a multi-webpage application with a 
common module and page-specific modules, but I'd have to write a complicated 
script to assign files to the right modules.  Looking at plovr's source code I 
saw that you'd already done that, with a nice comment to explain it.  Thank you!

Original issue reported on code.google.com by dallan on 1 Nov 2010 at 1:33

GoogleCodeExporter commented 8 years ago
It would be especially nice if this worked with request 5, recompiling only if 
sources have changed.

Original comment by dallan on 1 Nov 2010 at 1:36

GoogleCodeExporter commented 8 years ago

Original comment by bolinf...@gmail.com on 2 Dec 2010 at 3:10

GoogleCodeExporter commented 8 years ago
There is CompilerOptions.ideMode which disables optimization phase, would be 
nice to have it in plovr.

Original comment by mieli...@gmail.com on 4 Feb 2011 at 10:21