Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Ignore settings_data.json setting #67

Closed
QuintinS opened this issue Apr 13, 2017 · 1 comment
Closed

Suggestion: Ignore settings_data.json setting #67

QuintinS opened this issue Apr 13, 2017 · 1 comment

Comments

@QuintinS
Copy link

QuintinS commented Apr 13, 2017

A suggestion: A setting in the gruntfile that ignores the settings_data.json and doesn't upload it to the site if changes to it are detected.

I see there is an option for this on the upload command, but don't see a similar setting for the watch command.

@wilr
Copy link
Owner

wilr commented Apr 13, 2017

You can use the upload_patterns filter to exclude this. Haven't tested it myself but using globbing patterns in grunt you can exclude the file.

upload_patterns: ['assets/*.*','config/*.*','layout/*.*','locales/*.*','snippets/*.*','templates/*.*','templates/customers/*.*', '!settings_data.json']

Let me know if that doesn't work any I'll set a flag but I'd prefer this approach.

@wilr wilr closed this as completed Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants