You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build process not triggering for sub components #40
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:
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.
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.
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.
Activity
djgrant commentedon Jul 1, 2015
A temporary fix is to build all components on every change by adding
--rebuildEverythingOnChange=yesto the"local-only-bootstrap":setting in thepackage.json.You might want to clear some of the famous components you're not using out of
components/famousto speed the build process up if you're doing that.See #30
tsortwehttam commentedon Jul 1, 2015
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.