Skip to content

Commit

Permalink
Merge pull request #116 from Samsung/socket
Browse files Browse the repository at this point in the history
remove close function and change to close event
  • Loading branch information
pwsses authored Sep 11, 2024
2 parents 7297988 + 9c8b17f commit 4e585b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/watchHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
logger.log(`listening on ${socketPort}`);
});

http.close(e => {
http.on('close', e => {
if (!e.message.includes('Server is not running')) {
logger.log(chalk.cyanBright(`Close listening: ${e.message}`));
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tizentv/wits",
"version": "2.5.8",
"version": "2.5.9",
"description": "Instant live reload tool for Tizen Web Application development",
"main": "index.js",
"author": "Samsung Electronics Co., Ltd.",
Expand Down

0 comments on commit 4e585b5

Please sign in to comment.