Skip to content
This repository was archived by the owner on Jul 8, 2020. It is now read-only.

Commit 30d3eb4

Browse files
committed
1.9.1 - fix livereload
1 parent 9435aeb commit 30d3eb4

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

generators/app/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ module.exports = yeoman.Base.extend({
162162
// other files
163163
this.directory('hooks', 'hooks');
164164
this.copy('gulpfile.js', 'gulpfile.js');
165+
this.copy('gulp/utils/Patcher.js', 'gulp/utils/Patcher.js');
165166
this.template('gulp/_injecting.js', 'gulp/injecting.js');
166167
this.copy('gulp/building.js');
167168
this.copy('gulp/configuring.js');

generators/app/templates/gulp/cordova.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ gulp.task('resources', ['clean-res'], function () {
4646
});
4747

4848
// LIVERELOAD
49-
gulp.task('livereload', ['serve-livereload'], function () {
49+
gulp.task('livereload', ['serve-livereload', 'inject-all'], function () {
5050
// watch for changes in scss
5151
gulp.watch('app/*/styles/**/*.scss', ['styles']);
5252
return runCordova(options.livereload + ' --noprepare');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "generator-m-ionic",
3-
"version": "1.9.0",
3+
"version": "1.9.1",
44
"description": "Advanced workflows for building rock-solid Ionic apps: develop, prototype, test, build and deliver high quality apps with Yeoman, Gulp, Bower, Angular, Cordova and of course Ionic. All in one sexy generator.",
55
"license": "MIT",
66
"main": "app/index.js",

test/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ describe('generators/app', function () {
4343
'bower.json',
4444
'config.xml',
4545
'hooks/after_prepare/update_platform_config.js', // one per example
46+
'gulp/utils/Patcher.js',
4647
'gulp/building.js',
4748
'gulp/configuring.js',
4849
'gulp/cordova.js',

0 commit comments

Comments
 (0)