Skip to content

reload fails #114

@tariqinaam

Description

@tariqinaam

Hi,
I have wits running on mac OS with a react tizen custom project. I am trying to use live reload using tizen emulator.
On initial run of wits -s or wits -w, it loads the app in emulator. However upon changing a file, app failed to reload with error messaage on emulator says

Unable to fiind page you requested
file:/// may be down or moved to new address

here is detail log
At the end of this log it says chrome disconnected, however chrome stays connected.

wits -s --verbose
 _      ____________  
| | /| / /  _/_  __/__
| |/ |/ // /  / / (_-<
|__/|__/___/ /_/ /___/

Start running Wits............

[@tizentv/tools]tools.getToolPath: toolName = sdb

      > [ Stored Information ]

      > baseAppPath  : /Users/xxxx/development/ott
      > width        : 1920
      > deviceIp     : 0.0.0.0
      > isDebugMode  : true

      > profile path : /Users/xxxx/tizen-studio-data/profile/profiles.xml
      > hostIp       : 10.50.69.11

List of devices attached 
emulator-26101          device          t-0409-1

secure_protocol:enabled
intershell_support:disabled
filesync_support:pushpull
usbproto_support:disabled
sockproto_support:enabled
syncwinsz_support:enabled
sdbd_rootperm:disabled
rootonoff_support:disabled
encryption_support:disabled
zone_support:disabled
multiuser_support:enabled
cpu_arch:x86
sdk_toolpath:/home/owner/share/tmp/sdk_tools
profile_name:tv
vendor_name:Samsung
can_launch:tv-samsung
device_name:Tizen
platform_version:7.0
product_version:4.0
sdbd_version:2.2.31
sdbd_plugin_version:3.8.5_EM_REL
sdbd_cap_version:1.0
log_enable:disabled
log_path:/tmp
appcmd_support:disabled
appid2pid_support:enabled
pkgcmd_debugmode:enabled
netcoredbg_support:enabled
architecture:32
platform_build_version:7.0


content src is : dist/index.html

Start packaging Samsung Tizen TV Platform......

[webide-common-tizentv]projectHelper.buildWidget() profilePath = /Users/xxxx/tizen-studio-data/profile/profiles.xml, excludeFiles = undefined
After build package, signature temporary files were removed
[webide-common-tizentv]projectHelper.widget.on(): Build Package completed!
============================== Build Package completed!

============================== Start to install the package

uninstall MTAPlusWITs
app_id[MTAPlusWITs] uninstall start
app_id[MTAPlusWITs] uninstalling[4]
app_id[MTAPlusWITs] uninstalling[100]
app_id[MTAPlusWITs] uninstall completed
spend time for wascmd is [1148]ms

WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                       WITs.wgt   100%        136KB           0KB/s
1 file(s) pushed. 0 file(s) skipped.
/usr/local/lib/node_modules/@tizentv/wits/container/WITs.wgt   1474KB/s (139911 bytes in 0.092s)


install MTAPlusWITs
package_path /home/owner/share/tmp/sdk_tools/WITs.wgt
app_id[MTAPlusWITs] install start
app_id[MTAPlusWITs] installing[10]
app_id[MTAPlusWITs] installing[13]
app_id[MTAPlusWITs] installing[97]
app_id[MTAPlusWITs] installing[100]
app_id[MTAPlusWITs] install completed
spend time for wascmd is [1374]ms


terminate app QXQQPihnR1.MTAPlusWITs
spend time for wascmd is [16]ms

... successfully launched pid = 27283 with debug 1 port: 36881



listening on 4662
a user connected
new client connected, id = Qbr2nv1nDRXuIRg0AAAB 
socket on::::push_request
Total File Number : 170
socket on::::watch_request
hostAppPath /home/owner/share/tmp/sdk_tools/MTAPlusWITs
[Warning]: Failed to wrapped FileSystem to contents file.
Please install a Chrome browser. Error: connect ECONNREFUSED ::1:58345
Please install a Chrome browser. Error: connect ECONNREFUSED ::1:58344

/Users/xxxx/development/ott/src/pages/home.js update
watch file : /src/pages/home.js
Program output : WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                        home.js   100%       3424 B           0KB/s
1 file(s) pushed. 0 file(s) skipped.
/Users/xxxx/development/ott/src/pages/home.js   57KB/s (3424 bytes in 0.058s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions