Hammer Beta Support for High Sierra & Mojave Available Download.

Buy Hammer
Download
Features
Take the tour
Templates
Browse gallery
Docs
Read up
News + Updates
All the latest about Hammer

Hammer Ignore

Show Menu

You may wish to have Hammer completely ignore a folder, some files or sore types of files. This is pretty common and it is highly recommended to ensure Hammer build performance, that you consider which files in your project should pass through the compilation process.

It works in a very similar way to the .gitignore that you may have come across.

For example, you wouldn't want any artwork files like .psd or .sketch, whole directories of dependency libraries, such as those in a node_modules directory.

Using the Hammer Ignore is very easy, there's even a helpful UI in the Hammer app.

hammer-ignore

Understanding the exact strings to type can be a bit confusing, so here's a few tips. Assuming we have a folder called MyFolder in our project, let's ignore it…

MyFolder

If we wanted to ensure that we ignored all the files in this folder, we can use a wildcard

MyFolder/*

Let's say that we wish to ignore all of our raw artwork files in our entire project

*.psd *.sketch

Have a question, want to beta test new releases or have an issue you're stuck with?

Join our supportive community Slack Team and get in touch with us directly. We love to help!

Free Trial
Buy Hammer
Anvil is a beautiful menubar app that can run your Hammer builds under local .dev URL’s - great if you’re using web services like Typekit. Find out more and download it for free at anvilformac.com