yeoman/generator-backbone

Build & serve issue

Closed this issue · 4 comments

When you in work process (serve runing) and you run
_grunt build_
livereload and other runing tasks will crash ( because build.js run clean:tmp task )

kevva commented

Why are you running them simultaneously?

I share result of my work over ssh+rsync to remote host (add rsync task to build task).

I would stop the development server, build and sync the dist directory if it doesn't take too long
or use git to trigger the build and rsync somewhere else when there are changes, for example a CI server job like jenkins, even installed locally

What ^^ said