I am trying to make it so we can create list views in scratch orgs that will not be pulled into our source when developing. I have created a .forceignore
file in the root directory.
My .forceignore
file looks like
# Ignore List Views
avsight/main/default/objects/Product2/listViews
avsight/main/default/objects/Account/listViews
But when I create a new listView for the Product2 object and do a force:source:pull
the listView is not ignored and it gets added to the source. Does anyone see anything wrong with how I am doing it or am I missing something?