diff options
Diffstat (limited to 'script/filewatch.lua')
-rw-r--r-- | script/filewatch.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script/filewatch.lua b/script/filewatch.lua index 7fb3e605..6520afe6 100644 --- a/script/filewatch.lua +++ b/script/filewatch.lua @@ -1,7 +1,6 @@ local fw = require 'bee.filewatch' local fs = require 'bee.filesystem' local plat = require 'bee.platform' -local sys = require 'bee.sys' local await = require 'await' local files = require 'files' @@ -17,7 +16,7 @@ local function isExists(filename) if plat.os ~= 'windows' then return true end - local res = sys.fullpath(path) + local res = fs.fullpath(path) if not res then return false end |