A
A
Alexander Drozdov2014-11-25 10:58:53
JavaScript
Alexander Drozdov, 2014-11-25 10:58:53

How is it possible to upload a project to a production project in meteor js, without collecting everything and everything, if only one file has changed?

Let's say the previous time I uploaded the project to the prod in the form of a ready- made meteor build archive. . And so I only changed a couple of lines in the code, and I need to send the fixes to the prod... by running the same meteor build command. the meteor will build the whole project again...
Maybe there is another way to control the pour for production, without rebuilding the whole project?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Elizaveta Borisova, 2014-11-26
@Elizaveta

It's not possible now. The developers plan to single out the client separately. And now it is recommended to speed up the rebuild by placing it in RAM:
cd ~/project_name/
rm -fr .meteor/local/*
sudo mount -t tmpfs tmpfs .meteor/local
sudo chown -R YourUser .meteor/local
rm -fr packages/*
sudo mount -t tmpfs tmpfs packages
sudo chown -R YourUser packages
mrt update
mrt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question