Add ServiceStack + AngularJS/Yeoman/GruntJS example
Add a starter template showing how to get started with a Single Page App with AngularJS + Yeoman + GruntJS working together.
We’ve added a new AngularJS optimized Single Page template with integrated npm and Gulp support at: https://github.com/ServiceStack/ServiceStackVS/blob/master/docs/angular-spa.md
-
Yeah live-reload is extremely important for optimizing the dev workflow. We try to optimize for this in https://github.com/ServiceStack/Bundler with multiple ways of bundling assets, e.g. On Save (with VS/Extension), on user-defined keystroke (with External Tool / command-line runner) which are both good ways of refreshing page changes without having to restart the .NET AppDomain.
Finally you can add a post-build event to the command-line runner, but that does requires re-building the .NET solution and restarting the AppDomain.
Unfortunately the guys behind Brunch are also behind blossom.io who have switched to Dart: http://www.ramen.io/post/46936028144/we-are-switching-to-dart-why
It would be nice to tap into the GruntJS/Yeoman ecosystem since Google is behind it and they know optimizing the dev workflow is extremely important so we can expect them on focusing on it, but it does some pretty big and complex that it may not be suitable small single page apps, which is where I like using SS/Bundler.
-
Chris Mcvittie commented
We currently use ServiceStack for backend, but then separate and use brunch for the frontend dev. It has a nice auto-watch feature for reloading the browser on page changes (and just css on css changes), the build process is also really straightforward.
I think these features would really enhance the dev workflow for the above too. When working with html in SS (mainly for hacking swagger), the "Copy Local" requirement in VS for static files always made it feel cumbersome compared to brunch. (That might be how I'm using it though).