Skip to content

Build process not triggering for sub components #40

Open

Description

@unoriginalscreenname

I noticed something with the automated build and browser refresh. If i am working inside a sub-component, the build process will trigger and refresh the browser, but the changes will not take effect unless I make a change to the parent component that is being included in the public index file.

example... I am loading this layout component in the public index.htm:

FamousFramework.deploy('username:layout', 'HEAD', 'body');

inside layout, my node tree looks like this, loading two sub components:

<node id="layout">
    <component1></component1>
<component2></component2>
</node>

If i make changes to either of the subcomponents, the build process goes, but no changes are displayed in the browser. If i save the parent "layout" component, the changes take effect.

This might be the way it was intended to work. if so that is alright. it's just not the way i expected it to behave. Hope this is helpful.

Activity

  1. djgrant commented on Jul 1, 2015

    @djgrant

    A temporary fix is to build all components on every change by adding --rebuildEverythingOnChange=yes to the "local-only-bootstrap": setting in the package.json.

    You might want to clear some of the famous components you're not using out of components/famous to speed the build process up if you're doing that.

    See #30

  2. tsortwehttam commented on Jul 1, 2015

    @tsortwehttam
    Contributor

    We'll also be adding another option soon that will allow you to develop with respect to a single component (instead of everything you have in your components folder), which also really speeds up the rebuilds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions