Skip to content

Commit 5655358

Browse files
author
Nadezhda Atanasova
authored
Use the after-watch hook
Use the after-watch hook, which is raised when LiveSync operation stops and kill currently running node-sass compiler. - This change was missed out in #40, which is copy of NativeScript/nativescript-dev-typescript#34
1 parent d5bd3cc commit 5655358

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
"type": "before-watch",
3232
"script": "lib/watch.js",
3333
"inject": true
34+
},
35+
{
36+
"type": "after-watch",
37+
"script": "lib/after-watch.js",
38+
"inject": true
3439
}
3540
],
3641
"tns-ios": {
@@ -62,4 +67,4 @@
6267
},
6368
"homepage": "https://github.com/toddanglin/nativescript-dev-sass",
6469
"readmeFilename": "README.md"
65-
}
70+
}

0 commit comments

Comments
 (0)