# Livereload - app is not reloaded after making changes to code

**URL:** <https://forum.ionicframework.com/t/livereload-app-is-not-reloaded-after-making-changes-to-code/49184>\
**Category:** ionic-v3\
**Created:** [April 13, 2016, 10:11am UTC](https://forum.ionicframework.com/t/livereload-app-is-not-reloaded-after-making-changes-to-code/49184 "2016-04-13T10:11:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mKatt](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@mKatt](https://forum.ionicframework.com/u/mKatt)\
**Post date:** [April 13, 2016, 10:11am UTC](https://forum.ionicframework.com/t/livereload-app-is-not-reloaded-after-making-changes-to-code/49184/1 "2016-04-13T10:11:14Z")

</div>

When I create a new blank Ionic 2 application with `ionic start myProject blank --v2 --ts` and run it on a device or an emulator with `ionic run android -lcs` the app runs and works fine. However, any changes I make to the application files (ts, html or scss) are seemingly ignored. I have to run the application again with `ionic run android -lcs` every time I make changes.

Is there something additional need after starting the project to get this working?

My ionic info is:

`Cordova CLI: 6.1.1 Gulp version: CLI version 3.9.1 Gulp local: Local version 3.9.1 Ionic Framework Version: 2.0.0-beta.4 Ionic CLI Version: 2.0.0-beta.24 Ionic App Lib Version: 2.0.0-beta.14 ios-deploy version: 1.8.5 ios-sim version: 5.0.8 OS: Mac OS X El Capitan Node Version: v5.10.1 Xcode version: Xcode 7.3 Build version 7D175`

---

<div class="post-metadata">

**Author:** ![mKatt](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@mKatt](https://forum.ionicframework.com/u/mKatt)\
**Post date:** [April 14, 2016, 5:31am UTC](https://forum.ionicframework.com/t/livereload-app-is-not-reloaded-after-making-changes-to-code/49184/2 "2016-04-14T05:31:24Z")

</div>

So the problem here seems to have been me. I used `-lcs` which doesn’t work while using either `-l` or `--livereload` do work.

However since I want the console and server logs when I test the app I changed my `gulpfile.js` a bit to make `-lcs` work. The change I made was  
`var shouldWatch = argv.indexOf('-l') > -1 || argv.indexOf('--livereload') > -1;`  
to:  
`var shouldWatch = argv.indexOf('-l') > -1 || argv.indexOf('--livereload') > -1 || argv.indexOf('l');`
