How to make Meteor ignore files?
As of Meteor v1.5.2.1, there is support for a .meteorignore
file. It works exactly the same as a .gitignore
.
You can use them in any directory of your project and are fully integrated with the file watching system.
There's no such file as .meteorignore
yet.
Currently the only reliable way to hide a file from Meteor is to make it hidden (add a dot to the beginning of name). You can hide the whole directory, which is useful if you need specific filenames for things like Grunt tasks.
For example if you create a directory called .hammerTime
, then Meteor can't touch this.
Update:
As of Meteor v1.5.2.1, there is support for a .meteorignore
file. It works exactly the same as a .gitignore
.