Skip to content

Commit 92723d1

Browse files
author
Hristo Hristov
authored
Livesync reloads css (NativeScript#3835)
1 parent c8803f8 commit 92723d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tns-core-modules/ui/styling/style-scope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function onCssChanged(args: application.CssChangedEventData): void {
5050
}
5151

5252
function onLiveSync(args: application.CssChangedEventData): void {
53-
loadCss(args.cssFile)
53+
loadCss(application.getCssFileName());
5454
}
5555

5656
function loadCss(cssFile?: string): RuleSet[] {

0 commit comments

Comments
 (0)