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

Add a way to set global config #130

Open
muuvmuuv opened this issue Mar 18, 2019 · 0 comments
Open

Add a way to set global config #130

muuvmuuv opened this issue Mar 18, 2019 · 0 comments

Comments

@muuvmuuv
Copy link

It would be great if I could set some global options by default like appName on the start of my task notifier. This would prevent me to merge objects every time or assign the values new.

Maybe I miss something out but my way ATM is:

const notifierOptions = {
  appName: APP_NAME,
  title: APP_NAME,
  message: 'Starting gulp...',
  sound: true,
}

notifierOptions.message = `Starting compressing files for ${name}`
src(file).pipe(notify(notifierOptions))

would be great if I could just

notify.appName = APP_NAME
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

1 participant