Skip to content
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

Toggle for watch and upload changes files only #381

Open
AsgharCeethirakthu opened this issue Sep 23, 2024 · 1 comment
Open

Toggle for watch and upload changes files only #381

AsgharCeethirakthu opened this issue Sep 23, 2024 · 1 comment

Comments

@AsgharCeethirakthu
Copy link

Is your feature request related to a problem? Please describe.

Whenever I run build I have multiple file changes prophet starts uploading the entire cartridges list. Sometimes build wouldn't have completely finished but prophet already started uploading. My changes are only on one cartridge and why upload everything every time.

Describe the solution you'd like

A toggle or an option on command palette to enable upload only changed files. So I can enable this and only when I need whole cartridge upload I can use clean upload option.

Describe alternatives you've considered

Every time automatic cartridges upload starts I cancel and it only uploads changed files

Additional context

Issue happens mostly multiple scss files compiles on build, I intend to upload only the changed files.
Now I cannot use npm run watch here as I am using some extra sass plugins to compile locale specific files and npm run watch won't work there. This can be an issue on common case as well when a cartridge with few files updates, uploading all cartridges not needed.

@SqrTT
Copy link
Owner

SqrTT commented Sep 24, 2024

the extension upload file one by one.
It uploads a whole cartridge only as fallback in case upload single file fails.
Please, investigate logs output to identify why upload single file is falling.

PS. Is there change that your build tool create some temporary files and then remove them while the extension tries to upload?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants