← Back to team overview

launchpad-dev team mailing list archive

Re: combo loader enabled for ~launchpad

 

On Mon, 14 May 2012, Richard Harding wrote:

> I just wanted to toss a heads up that the combo loader has been
> enabled for all of ~launchpad today. This is part of a rollout that
> included the orange team living with it on production for the last
> little bit.
>
> As a reminder, this means that you no longer have the giant
> launchpad.js file in your network tree. Instead you'll see a couple of
> calls to +combo/..... that load the JS required for the page to
> function.


I wanted to follow this up with some reminders and tips for working with
things locally in your dev environments.

We're working on getting the combo loader enabled by default in the dev
data, until then, make sure you enable it locally so that you're using it
and can help find issues there as well.

You can enable the combo loader in your dev environment by heading over to
`https://launchpad.dev/+feature-rules` and adding:

    js.combo_loader.enabled     default 1 true

Second, there's a tool `make jsbuild_watch` that's meant to aid in
JavaScript development locally. It watches your launchpad tree for changed
JS files and auto builds them for you on the fly. This prevents you from
needing to manually run jsbuild after each time you change your JS files.
Give it a shot, but realize this only works if the combo loader is enabled.

If you hit anything or have any ideas/questions make sure to let me know.


--

Rick Harding

Launchpad Developer
https://launchpad.net/~rharding
@mitechie


Follow ups

References