All questions regarding the precompile process should be tagged here
Questions tagged [precompile]
469 questions
5
votes
2 answers
When does BEGIN actually start (or is run)?
This is related to this issue in the Perl 6 documentation repo
It's not too clear the phase in which BEGIN blocks are actually run. Documentation says "compile time", but Perl is precompiled, so that might actually be precompile time. As a matter…

jjmerelo
- 22,578
- 8
- 40
- 86
5
votes
2 answers
How do I tell rails not to precompile/cache a .js.erb file in my app?
I have a messages.js.erb file in my app/assets/javascripts/channels folder that should generate code to take each chatroom from the database and create channel subscriptions for that chatroom.
Here is my messages.js.erb…

Rahul
- 61
- 1
- 4
5
votes
1 answer
Is it possible to precompile jsp into eclipse?
The title is pretty straightforward.
I would like to know if there is any possibility of seeing the compiled jsp (the servlet generated) directly into eclipse. Without deploying onto any server.

David
- 910
- 1
- 12
- 22
5
votes
1 answer
What is pre-compiled SQL statement?
PreparedStatement is a precompiled statement so it will increase jdbc performance at runtime but still confused about
What is precompiled SQL Statement? What it does?
Why precompiled statement is faster than usual SQL Statement?

Sasikumar Murugesan
- 4,412
- 10
- 51
- 74
5
votes
3 answers
A better understanding of javascript precompile
var foo=1;
function bar(){
foo=10;
return;
function foo(){}
}
bar();
alert(foo);
I am currently learning on how javascript is actually running in the machine and this is a piece of code I see in the example. I got no idea why the…

Rico
- 53
- 2
5
votes
2 answers
How to debug asset prompiling syntax errors?
I'm trying to push to Heroku after some Frontend touching, but I have several errors when precompiling (I think syntax errors).
The thing is, I get the line number of the precompiled assets, not the original ones, so I don't know how to debug it.!
…

Gibson
- 2,055
- 2
- 23
- 48
5
votes
1 answer
precompile coffeescript files ( Rails 4 )
In my Rails 4 app I have a users.js.coffee file in app/assets/javascripts. It compiles and works fine in development. But when I deploy to heroku it's not working. According to Railsguides:
The matcher (and other members of the precompile array; see…

user2725109
- 2,286
- 4
- 27
- 46
5
votes
2 answers
precompile angular js template to speed up application startup
I have a big angular application with 5 templates included in the main page using