Famous / Famous/framework

Watcher doesn't reload demo when nested components are changed

Open
#30 9 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
394
Forks
62
PR merge metrics
No merged PRs in 30d

Description

I'm porting this issue via @thiswildorchid that was filed against the famous-cli repo - https://github.com/Famous/famous-cli/issues/54 - since it is actually a problem with our tooling not the CLI itself.

---

It appears that when I create new components the app is not watching them for changes and wont load the changes made to the files in the modules.
### How to reproduce
- create demo app
- create new folder with `.famous` directory and `myNameSpace.js` file
- include `myNameSpace` component in main app i.e.

```
FamousFramework.scene('thedude:magick', {
behaviors: {
'#surface': {
'content': '

Hello world!

',
'size': [800, 800]
}
},

tree: `

//my custom namespace
`
});

```
- now modify the file in custom namespace and note that the changes are not being compiled and rendered on page reload.

![issue](http://imagizer.imageshack.us/v2/320x240q90/537/AsCgxb.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.