How to clear Meteorjs application development design?

There are two command line programs to start / stop / control your meteor shower application. There is meteor and there is mrt . Since the last build (0.8.2 or so), it's really unclear what the difference is between the two, if any. Both seem to support the "help" argument like meteor help and mrt help . The result of both seems to be the same for me.

Unfortunately, I do not see a “pure” argument available when I check for help for any of them. What do I need to do if I want to achieve a clean build? One that will

  • Remove all packages and reinstall them.
  • Remove all compiled templates.
  • Delete all compiled Sass / Less output

I ask about it, because now I am in some kind of dependence of Hades and I want now.

+6
source share
1 answer

The meteor is still in preliminary condition. Thus, the idea of ​​packages (still in this post) is not officially supported, although it will be soon. The meteor community has stepped in to create its own way of using third-party packages, and this is what the meteorite does.

Most of the commands you give to the meteorite are ultimately passed to the meteorite, so you see the same result.

The only (main difference) is mrt add , which first checks the js.com atmosphere for packages.

These two will be merged very soon (there is a branch on the meteor on github, called packaging, which aims to achieve this)

The idea of ​​"clean" does not actually exist in the meteor, because most of the material is based on reloading the hot code, so when the file changes it is completely uploaded / (cleared) and rewritable.

If you change the code bit, it will restore all this if you do not have a syntax error.

However, if you want to "clear" the assembly of everything that you would need to do in two stages (meteor part and meteorite part)

This erases some things in the hidden .meteor folder

 meteor reset 

Delete everything in ~/.meteorite/packages

Delete all symbolic links only in your /packages projects. Be careful not to delete folders, because they will be placed by you / whoever you make your project and would not be from the atmosphere or meteor

Then run mrt update to reinstall all packages from scratch from scratch.

+3
source

Source: https://habr.com/ru/post/970128/


All Articles