fix data error
This commit is contained in:
parent
9209254af5
commit
820f1e9f8c
@ -19,7 +19,7 @@ setTimeout(() => {
|
||||
const sourceMap = doMerge(path + ".map")
|
||||
ws.connections.forEach(e => {
|
||||
e.sendText(JSON.stringify({
|
||||
script: fs.readFileSync(path),
|
||||
script: data,
|
||||
source: path.match(/[^/\\]*$/)[0],
|
||||
sourceMap,
|
||||
}))
|
||||
|
Reference in New Issue
Block a user