Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

how to test codes changes without complete rebuilding bundle each time?

Open localguru opened this issue 9 years ago • 5 comments

I cloned Rocket.Chat from github and built a new bundle (meteor build --server https://localhost --directory /my/build/location). Now I'd like to change code my local git repo and test it without rebuilding a complete new bundle each time, which takes about minutes.

localguru avatar May 31 '17 17:05 localguru

@localguru For developing you can start the server in your localhost with the command meteor. It will detect changes to the code and restart the app automatically, its way faster than doing a complete rebuild (note that depending on your machine some packages still take a bit of time to build again, such as the i18n package)

MartinSchoeler avatar May 31 '17 17:05 MartinSchoeler

So, it's for stable release just this?

git clone https://github.com/RocketChat/Rocket.Chat.git git checkout master cd Rocket.Chat meteor npm start

localguru avatar May 31 '17 19:05 localguru

Further starts with "meteor" after small codes changes take about 120 seconds. Is there a way to speed that up?

localguru avatar Jun 02 '17 13:06 localguru

meteor detects code changes and restarts by itself, if there are just clientside changes the restart should be quick

whuber-work avatar Jun 07 '17 14:06 whuber-work

We aim to keep our Github issues for bugs and feature requests. This does not fit that criteria. Please see our guidelines for support. If you feel like we are closing in error, please re-open and add additional details about the bug or feature request.

MartinSchoeler avatar Aug 02 '17 13:08 MartinSchoeler