Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aurelia Support #102

Open
NunoCruzSW opened this issue Sep 19, 2016 · 19 comments
Open

Aurelia Support #102

NunoCruzSW opened this issue Sep 19, 2016 · 19 comments

Comments

@NunoCruzSW
Copy link

I'm trying to start a project with aurelia+jspm+hmr using this to reload.
Unfortunately I'm not expert and it seems hard to make the aurelia reload after get new files.

@born2net
Copy link

here you go
https://github.com/born2net/ng2Boilerplate

jspm hrm ng2

@NunoCruzSW
Copy link
Author

@born2net I saw something that can be useful in your sample, but aurelia and angular are different frameworks.
I believe that there is a better way to do it with aurelia, maybe the this can solved his team

@alexisvincent
Copy link
Owner

@NunoCruzSW Got a solution?

@danielmeza
Copy link

pleease we need this!

@alexisvincent
Copy link
Owner

What's the issue with Aurelia reloading at the moment

@alexisvincent
Copy link
Owner

Im unfamiliar with the aurelia ecosystem and have no idea what it would take to support HMR. Any idea why it doesn't 'just-work'?

@NunoCruzSW
Copy link
Author

NunoCruzSW commented Jan 28, 2017 via email

@alexisvincent
Copy link
Owner

I found this: https://github.com/aurelia/hot-module-reload

@danielmeza
Copy link

@alexisvincent the link is only for the webpack implementation, not for System Js, we can lear about how they do it and make our own implementation.

@NunoCruzSW
Copy link
Author

NunoCruzSW commented Jan 29, 2017 via email

@nmocruz
Copy link

nmocruz commented Jan 29, 2017

@danielmeza I didn'd saw any dependency on webpak, so maybe is a just a library help any other library to reload and re-render components.
But yes we need to look to the webpack plugin to learn how they use that Aurelia module reloader

@danielmeza
Copy link

@nmocruz Yes you're right, it not have any dependency to WebPack, so I suppose that we need some sokect or server tecnology in order to advince the browser that some conten is new, we can use gulp to watch the changes and sokect.io as sokect layer, for get started.

@peteruithoven
Copy link
Contributor

@danielmeza sounds a lot like https://github.com/capaj/chokidar-socket-emitter ?

@danielmeza
Copy link

@peteruithoven yes!! it´s perfect!

@alexisvincent
Copy link
Owner

Is there anyone here who would like to champion this?

@alexisvincent alexisvincent changed the title aurelia support Aurelia Support Feb 28, 2017
@danielmeza
Copy link

danielmeza commented Mar 7, 2017

I found this aurelia/webpack-plugin#65 the work is done by the webpack-plugin but I can´t find the file to see the source code.

@nmocruz
Copy link

nmocruz commented Mar 7, 2017

@danielmeza It seems like the aurelia team is having problems even with webpack to make HMR work. It's not easy to understand why, but it's the Achilles tendon to me.
I was following the framework for a while, and trying to help, I love the concept, but unfortunately, I will keep this on standby just for a while. Rob and maybe others member are like part-time developers or their priority is not to make HMR usable, is too buggy and because they focus is the simplicity, when comes bigger project everything starts to fail. I can delay a new project a little more, but then I need to decide if is not better to watch other candidates

@wegorich
Copy link
Contributor

wegorich commented Jul 6, 2017

Start doing it, but tooo many questions:
Communication beetwen System HMR and Aurelia Custom Loader
How replace webpack hooks, to systemjs ones

Hope found some answers next few day and did working sample

@wegorich
Copy link
Contributor

It's done.

Need wait while the PR would be merged #144

So:

  • guide how to setup localy, here
  • example here

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

No branches or pull requests

7 participants