Skip to content

Commit 8c357d3

Browse files
authored
[hl] Allow remove uv dependencies in LiveClass (#159)
1 parent 47adf44 commit 8c357d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hscript/LiveClass.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class LiveClass {
117117
public static function registerFile( file : String, onChange : Void -> Void ) {
118118
for( dir in CONFIG.srcPath ) {
119119
var path = dir+"/"+file;
120-
#if hl
120+
#if (hl && hl_no_libuv)
121121
if( !sys.FileSystem.exists(path) ) continue;
122122
new hl.uv.Fs(null, path, function(ev) onChange());
123123
#else

0 commit comments

Comments
 (0)