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

[Feature] Ability to hot reload controllers #2

Closed
maraisr opened this issue May 30, 2016 · 5 comments

Comments

Projects
None yet
3 participants
@maraisr
Copy link

commented May 30, 2016

I was writing a simple app to try this out, but found it super annoying having to npm start each time I added lines of code.. Would be kinda cool to have a dev server of some sort setup where I could add lines of code, refresh the route, and have those changes reflected. Or is there a simple node watch cli toolkit i could use that maybe watches a dir, and stops and starts my qurorra listener?

@harishanchu

This comment has been minimized.

Copy link
Member

commented May 30, 2016

Hi @maraisr ,

Yes, you are right, we will definitely add file watch feature to Quorra CLI soon.

For now you may use nodmon to monitor for any changes in your Quorra application and automatically restart the server.

Install nodemon globally with command:

npm install -g nodemon

Now got to your Quorra application root and just run nodemon command instead of quorra ride command to run your application with file change watch support.

Please refer nodemon documentation for advanced usages.

@maraisr

This comment has been minimized.

Copy link
Author

commented May 30, 2016

@harishanchu Thanks mate!! That'll at least get me going for now, but we would be nice to have a quorra ride --dev to boot up the app, in like a mega dev mode! Exciting times!! <3

@niallobrien

This comment has been minimized.

Copy link

commented Jun 1, 2016

@maraisr I think a mega-dev mode would have to include an asset pipeline solution. ;)

@harishanchu

This comment has been minimized.

Copy link
Member

commented Jul 6, 2016

Hey guys,

I have implemented hot reboot for Quorra

Now you can watch for file changes and reboot with --watch option on ride command:

quorra ride --watch

Watch configuration can be modified at : app/config/watch.js

Hoping to finish asset pipeline solution soon :)

@harishanchu

This comment has been minimized.

Copy link
Member

commented Jul 17, 2016

Implemented asset pipeline solution as well: https://quorrajs.org/docs/v1/more/elixir.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.