This repository was archived by the owner on Sep 19, 2025. It is now read-only.
Changed the way closure compiler is run to use nailgun #76
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was trying to find an alternative for plovr while development, because plovr is a little bit far behind and upgrading google closure every time is becoming troublesome there.
So I considered using gulp. I set up a gulp webserver using gulp connect and on fallback, it triggers the google closure compile, then it waits until the file is generated and it will then serve it to the client. The problem that I am facing is that the compile time is much bigger than plovr ~40s vs ~20s. So I managed to solve that by using nailgun to run the jar, and this way I can avoid the overhead of the jvm run time. and I actually reached the same compile time as plovr.
The is only one problem with this pull request that using running closure compiler using src won't work anymore, it gives that error in from the compile process error
I could not find the solution for this problem, so any help here would be appreciated.
Here is a link for my initial problem:
https://stackoverflow.com/questions/46957958/decreasing-google-closure-run-time-using-gulp