If you think you found a bug, please create a ticket in the bug tracker.
If you take code quality seriously, try out the new continuous inspection service.
This bundle eases development with the Google Closure Tools by providing some useful command line tools.
Checkout a copy of the code:
git submodule add https://github.com/schmittjoh/JMSGoogleClosureBundle.git src/JMS/GoogleClosureBundle
Then register the bundle with your kernel:
// in AppKernel::registerBundles() $bundles = array( // ... new JMS\GoogleClosureBundle\JMSGoogleClosureBundle(), // ... );
You also need to download the plovr.jar file from:
Below is the default configuration, you only need to change it if you want to place plovr somewhere else:
jms_google_closure: plovr: jar_path: %kernel.root_dir%/vendor/plovr/plovr.jar
Plovr by default listens on port 9810, and will automatically compile your
application when a request comes in. To start plovr, you first have to create
object literals. It?s important that you place this file somewhere below
Resources/config/plovr/ in your bundle:
After you have set-up the configuration file, you can run Plovr by running:
php app/console plovr:start @MyBundle/compile.js
php app/console plovr:build @MyBundle/build.js