-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Live preview watcher, refactor cube cloud package #2418
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2418 +/- ##
=======================================
Coverage 56.35% 56.35%
=======================================
Files 118 118
Lines 8714 8714
Branches 1887 1887
=======================================
Hits 4911 4911
Misses 3437 3437
Partials 366 366 Continue to review full report at Codecov.
|
if (this.hooks.onStart) this.hooks.onStart(files); | ||
|
||
try { | ||
for (let i = 0; i < files.length; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for (const file of files)
m?)
|
||
if (!upstreamHashes[filePosix] || upstreamHashes[filePosix].hash !== fileHashes[file].hash) { | ||
if (this.hooks.onUpload) this.hooks.onUpload(files, file); | ||
await this.cubeCloudClient.uploadFile({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it's better to use await Promise.all()
WDYT?
Check List
Issue Reference this PR resolves
[For example #12]
Description of Changes Made (if issue reference is not provided)
[Description goes here]