Hi devtool developlers,
I'm writing a live reload script for gaia app development and running into
a RDP reload problem. The script watches file changes in gaia app folders,
and it connects to a b2g runtime at port 6000 and the RDP exchanges are
listed below. The app running on b2g desktop only blinked after sending the
reload message, and I discovered that pressing the relaunch button in
WebIDE is no different.
A colleague and I checked that 1). the app is correctly rebuild and 2).
the profile folder and the application.zip is correctly placed. Does anyone
know the possible cause of this problem? Thank you!
sendMessage: 31:{"to":"root","type":"listTabs"}
handleMessage: { from: 'root',
applicationType: 'operating-system',
testConnectionPrefix: 'server1.conn0.',
traits:
{ sources: true,
editOuterHTML: true,
pasteHTML: true,
highlightable: true,
customHighlighters: true,
urlToImageDataResolver: true,
networkMonitor: true,
storageInspector: true,
storageInspectorReadOnly: true,
conditionalBreakpoints: true,
debuggerSourceActors: true,
bulk: true,
selectorEditable: true,
addNewRule: true,
getUniqueSelector: true,
directorScripts: true,
noBlackBoxing: false,
noPrettyPrinting: false,
getUsedFontFaces: true,
memoryActorAllocations: true,
noNeedToFakeResumptionOnNavigation: true,
webConsoleCommands: true,
allowChromeProcess: true,
profilerDataFilterable: true } }
handleMessage: { from: 'root',
selected: 0,
tabs: [],
promisesActor: 'server1.conn0.promisesActor1',
preferenceActor: 'server1.conn0.preferenceActor2',
actorRegistryActor: 'server1.conn0.actorRegistryActor3',
settingsActor: 'server1.conn0.settingsActor4',
webappsActor: 'server1.conn0.webappsActor5',
deviceActor: 'server1.conn0.deviceActor6',
directorRegistryActor: 'server1.conn0.directorRegistryActor7' }
sendMessage:
114:{"to":"server1.conn0.webappsActor5","type":"getAppActor","manifestURL":"app://
sms.gaiamobile.org/manifest.webapp"}
handleMessage: { actor:
{ actor: 'server1.conn0.child8/tab1',
title: 'Messages',
url: 'app://
sms.gaiamobile.org/index.html',
outerWindowID: 15,
consoleActor: 'server1.conn0.child8/consoleActor2',
inspectorActor: 'server1.conn0.child8/inspectorActor3',
callWatcherActor: 'server1.conn0.child8/callWatcherActor4',
canvasActor: 'server1.conn0.child8/canvasActor5',
webglActor: 'server1.conn0.child8/webglActor6',
webaudioActor: 'server1.conn0.child8/webaudioActor7',
styleSheetsActor: 'server1.conn0.child8/styleSheetsActor8',
styleEditorActor: 'server1.conn0.child8/styleEditorActor9',
storageActor: 'server1.conn0.child8/storageActor10',
gcliActor: 'server1.conn0.child8/gcliActor11',
memoryActor: 'server1.conn0.child8/memoryActor12',
framerateActor: 'server1.conn0.child8/framerateActor13',
eventLoopLagActor: 'server1.conn0.child8/eventLoopLagActor14',
reflowActor: 'server1.conn0.child8/reflowActor15',
cssUsageActor: 'server1.conn0.child8/cssUsageActor16',
monitorActor: 'server1.conn0.child8/monitorActor17',
timelineActor: 'server1.conn0.child8/timelineActor18',
directorManagerActor: 'server1.conn0.child8/directorManagerActor19',
profilerActor: 'server1.conn0.child8/profilerActor20',
animationsActor: 'server1.conn0.child8/animationsActor21',
promisesActor: 'server1.conn0.child8/promisesActor22' },
from: 'server1.conn0.webappsActor5' }
sendMessage:
132:{"to":"server1.conn0.child8/tab1","type":"reload","options":{"force":true},"manifestURL":"app://
sms.gaiamobile.org/manifest.webapp"}
handleMessage: { from: 'server1.conn0.child8/tab1' }
Many Thanks,
Yi-Fan