I think what’s causing the problem is js-output folder is recursively created
deeper and deeper [1]. Any idea why? This is our asconfig.json
{
"config": "royale",
"compilerOptions": {
"debug": true,
"targets": ["JSRoyale"],
"source-map": true,
"html-template": "src/resources/forms-index-template.html",
"theme":
"${royalelib}/themes/JewelTheme/src/main/resources/defaults.css",
"output": ".",
"source-path": [
"src",
"../../libs/vendor/puremvc-as3-multicore-framework/src"
]
},
"copySourcePathAssets": true,
"additionalOptions": "-js-dynamic-access-unknown-members=true",
"files":
[
"src/com/edscha/ebaseforms/shell/view/royale/Shell.mxml"
]
[1] https://paste.apache.org/sdgg
________________________________
From: Yishay Weiss <[email protected]>
Sent: Sunday, February 24, 2019 9:00:15 PM
To: [email protected]
Subject: RE: VSCode Build Taking Really Long
Re-cloning the repository reduces it to 30 seconds, then 14.
I guess some cached files were messing things up but I’m not sure when I’m
going to have time to investigate this.
Anyway, thanks to everyone who chipped in.
________________________________
From: Yishay Weiss <[email protected]>
Sent: Saturday, February 23, 2019 11:18:57 PM
To: [email protected]
Subject: RE: VSCode Build Taking Really Long
Is there a verbose mode for running asconfigc?
________________________________
From: Yishay Weiss <[email protected]>
Sent: Saturday, February 23, 2019 10:56:16 PM
To: [email protected]
Subject: RE: VSCode Build Taking Really Long
CPU rarely goes over 20% and never over 57%. Turning real-time protection off
didn’t make a big difference.
________________________________
From: Josh Tynjala <[email protected]>
Sent: Friday, February 22, 2019 7:40:45 PM
To: [email protected]
Subject: Re: VSCode Build Taking Really Long
The fact that you're all on Windows and are using the same versions of all of
the development tools makes me think that it might be something else in your
environment. Like maybe a malware scanner or something else that might be
watching the file system?
It might be worth opening up the task manager and watching if anything else on
your system starts using a lot of CPU while you are compiling. The process
might not start immediately when the compiler starts, but maybe later as the
compiler starts writing files (and then re-writing many of them for the
remove-circulars phase).
- Josh
On 2019/02/21 14:29:15, Yishay Weiss <[email protected]> wrote:
> Hi Guys,
>
> We have a really simple app which takes Piotr and Olaf less than half a
> minute to compile using VSCode. The same app takes me somewhere between 2.5
> and 5 minutes.
>
> Can you round up the usual suspects? My computer isn’t slower than theirs and
> until recently we’ve been using the same java version. We’re all using
> windows.
>
> Any help appreciated.
>
>
>