Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Speed up slow meteor.js build times

Tags:

meteor

The time it takes to bundle even the trivial, hundred line, demo apps in Meteor is about twenty five seconds. This seems very slow to me. Is there a way of speeding this up quite drastically?

I'm a newbie to Meteor. It was pointed out to me as I was looking for a way of speeding up development and indeed getting changes out live is great but the code and test cycle is much slower than I'm used to. There is only so much coffee I can drink whilst waiting. :-)

I'm running on a Macbook Pro, i7, 8G RAM or a quad core Xeon server (8 with hyperthreading). The run times are similar. No shortage of umph there!

like image 486
Max Murphy Avatar asked Oct 02 '22 23:10

Max Murphy


1 Answers

Yes it takes a while, but you should only be bundling when you are ready to push your changes to a production environment. When developing your app you should just run meteor from your app's root directory, and open your browser to http://localhost:3000. In development mode, any changes your make to your code will be immediately reflected in your browser.

like image 135
David Weldon Avatar answered Oct 07 '22 18:10

David Weldon