-
Notifications
You must be signed in to change notification settings - Fork 751
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
BrowserSync Notify #538
Comments
@NgYueHong - the convention in other areas of the api is to have an override option. I propose var bs1 = require("browser-sync").create();
bs1.init({
server: "./app",
notify: false
});
// later in your code...
bs1.notify("Compiling templates, please wait...", {override: true}); |
[email protected] will work as expected. var bs1 = require("browser-sync").create();
bs1.init({
server: "./app",
notify: false
});
bs1.watch('./app/*.css').on('change', function (file) {
bs1.notify(file + ' changed');
}); |
Great! Thanks a lot for your great work. |
@shakyShane I'm running some compilation, and then trigger browserSynch.reload(). Trying to set up a
How would this work? |
I can't see any custom notifications if notify = false with @2.15.0 |
I'm having the same issue in |
This will allow manual calls to `.notify()` fixes #538
Fixed - will be released at some point today |
I'm on |
I'm seeing the same issue as @hlolli in 2.26.3. |
I hope that the notify setting can be upgraded to be able to disable default message but still can display specially requested to notify message.
I personally found that every time when page reload, it shows "Connected to BrowserSync" is very annoying, but I want to be able to display custom message from gulp when needed. Currently when the notify is disabled, the custom message will also not displayed as well.
Hope there will be an upgrade for this soon. Thank you.
The text was updated successfully, but these errors were encountered: