Skip to content

Commit

Permalink
chore(build): make watch task work without having to build first
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Feb 10, 2014
1 parent 83f311a commit e40e205
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ module.exports = function(grunt) {
watch: {
scripts: {
files: ['js/**/*.js', 'ext/**/*.js'],
tasks: ['concat:dist', 'string-replace', 'concat:bundle'],
tasks: ['concat:dist', 'concat:distangular', 'string-replace', 'concat:bundle'],
options: {
spawn: false
}
Expand Down
7 changes: 1 addition & 6 deletions test/buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=1 ); /* IE6-9 */
}
</style>
<script src="../dist/js/ionic.js"></script>
<script src="../dist/js/angular/angular.js"></script>
<script src="../dist/js/angular/angular-sanitize.js"></script>
<script src="../dist/js/angular/angular-animate.js"></script>
<script src="../dist/js/angular-ui/angular-ui-router.js"></script>
<script src="../dist/js/ionic-angular.js"></script>
<script src="../dist/js/ionic.bundle.js"></script>
<script>
angular.module('ionicApp', ['ionic'])
</script>
Expand Down
1 change: 0 additions & 1 deletion test/controllers/sideMenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ <h1>RIGHT</h1>
</section>

<script src="../../../../dist/js/ionic.js"></script>
<script src="../../../../dist/js/ionic-angular.js"></script>
<script>
var Controller = function(opts) {
var _this = this;
Expand Down
7 changes: 1 addition & 6 deletions test/headers.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@
top: 0;
}
</style>
<script src="../dist/js/ionic.js"></script>
<script src="../dist/js/angular/angular.js"></script>
<script src="../dist/js/angular/angular-sanitize.js"></script>
<script src="../dist/js/angular/angular-animate.js"></script>
<script src="../dist/js/angular-ui/angular-ui-router.js"></script>
<script src="../dist/js/ionic-angular.js"></script>
<script src="../dist/js/ionic.bundle.js"></script>
<script>
angular.module('ionicApp', ['ionic'])
</script>
Expand Down
11 changes: 3 additions & 8 deletions test/lists.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@
overflow: hidden;
}
</style>
<script src="../dist/js/ionic.js"></script>
<script src="../dist/js/angular/angular.js"></script>
<script src="../dist/js/angular/angular-sanitize.js"></script>
<script src="../dist/js/angular/angular-animate.js"></script>
<script src="../dist/js/angular-ui/angular-ui-router.js"></script>
<script src="../dist/js/ionic-angular.js"></script>
<script src="../dist/js/ionic.bundle.js"></script>
<script>
angular.module('ionicApp', ['ionic'])
</script>
Expand Down Expand Up @@ -589,9 +584,9 @@ <h3>Colors</h3>
}

return false;
});
});



</script>

</body>
Expand Down

0 comments on commit e40e205

Please sign in to comment.