Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2f5a0dcd
Commit
2f5a0dcd
authored
Jul 21, 2016
by
John McCutchan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaks to --hot mode
parent
36eb4a06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
devfs.dart
packages/flutter_tools/lib/src/devfs.dart
+7
-7
run.dart
packages/flutter_tools/lib/src/run.dart
+2
-2
No files found.
packages/flutter_tools/lib/src/devfs.dart
View file @
2f5a0dcd
...
...
@@ -80,14 +80,14 @@ class ServiceProtocolDevFSOperations implements DevFSOperations {
}
String
fileContents
=
BASE64
.
encode
(
bytes
);
try
{
return
await
serviceProtocol
.
sendRequest
(
'_writeDevFSFile'
,
<
String
,
dynamic
>
{
'fsName'
:
fsName
,
'path'
:
entry
.
devicePath
,
'fileContents'
:
fileContents
});
return
await
serviceProtocol
.
sendRequest
(
'_writeDevFSFile'
,
<
String
,
dynamic
>
{
'fsName'
:
fsName
,
'path'
:
entry
.
devicePath
,
'fileContents'
:
fileContents
});
}
catch
(
e
)
{
print
(
'failed on
${entry.devicePath}
$e
'
);
print
Trace
(
'DevFS: Failed to write
${entry.devicePath}
:
$e
'
);
}
}
...
...
packages/flutter_tools/lib/src/run.dart
View file @
2f5a0dcd
...
...
@@ -345,9 +345,9 @@ class RunAndStayResident {
});
}
printStatus
(
'DevFS:
Updating files on device...'
);
Status
devFSStatus
=
logger
.
startProgress
(
'
Updating files on device...'
);
await
_devFS
.
update
();
printStatus
(
'DevFS: Finished updating files on device...'
);
devFSStatus
.
stop
(
showElapsedTime:
true
);
return
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment