Skip to content

Instantly share code, notes, and snippets.

@marcel-ploch
Created April 27, 2017 08:40
Show Gist options
  • Save marcel-ploch/67d7ee209bc0ef20133afc7873e6063e to your computer and use it in GitHub Desktop.
Save marcel-ploch/67d7ee209bc0ef20133afc7873e6063e to your computer and use it in GitHub Desktop.
Updated npm-watch Config with separate Tasks
{
"watch": {
"run_android": {
"patterns": [
"app"
],
"extensions": "ts,html,scss",
"quiet": true
},
"run_ios": {
"patterns": [
"app"
],
"extensions": "ts,html,scss",
"quiet": true
}
},
"scripts": {
"watch_android": "npm-watch run_android",
"watch_ios": "npm-watch run_ios",
"run_android": "tns run android --emulator",
"run_ios": "tns run ios --emulator"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment