Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Live editing angularjs views #7

Open
eldrgeek opened this issue Jan 22, 2014 · 7 comments
Open

Live editing angularjs views #7

eldrgeek opened this issue Jan 22, 2014 · 7 comments

Comments

@eldrgeek
Copy link

Is there a way to live edit angular views?
If I'm in the top level file and live edit, the view file is not live-editable.
I can inline the file contents, in which case I can do what I want.
Is there a better work-around?

@ProLoser
Copy link
Member

Oh now I get what you're talking about. I've got no real solutions off the top of my head at this time. It would be a massive undertaking to integrate with the introspection engine. I was thinking about maybe we could have and that would instruct brackets to the relevant partial, but honestly try using an ng-repeat or ng-if or ng-switch and watch everything go bonkers since the file on the local machine no longer matches what's in the browser.

@nmabhinandan
Copy link

I would love to have live editing support for angularjs partials.

@mandofever78
Copy link

+1 for some way to make this happen

@ProLoser
Copy link
Member

How exactly do you expect angular to know what view is loaded?

@mandofever78
Copy link

just wishful thinking

@ProLoser
Copy link
Member

Seriously, how would YOU even know what file you're working on? Or which one you want to work on? Like it would help if I had an idea of what you were expecting to happen.

@nmabhinandan
Copy link

Don't make it complicated. Do something like, refresh the whole site when a view (whichever it maybe) is changed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants