-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
enableBuildNotifications --watch #362
Comments
Hi @hugoalexmartins, Could you try enabling the Encore.enableBuildNotifications(true, (options) => {
options.alwaysNotify = true;
}); |
Hi @Lyrkan Yes it works ! Any reason for this procedure ? I am doing anything wrong ? |
Nothing wrong, that's just how the plugin works :) |
that's a choice they made explicitly. By default, they notify only for failures, and for the first passing build after that: https://github.com/Turbo87/webpack-notifier#webpack-notifier |
Thanks you very much ! |
Hey, My mac osx gets sleep about 5min, and now the notifications aren't show up in any time... This is weird... |
this is my config: var Encore = require('@symfony/webpack-encore');
Encore
// the project directory where all compiled assets will be stored
.setOutputPath('public/build/')
// the public path used by the web server to access the previous directory
.setPublicPath('/build')
// will create web/build/cve_app.js
.addEntry('cve_app', './public/assets/js/cveApp.js')
//.enableBuildNotifications();
;
Encore.enableBuildNotifications(true, (options) => {
options.alwaysNotify = true;
});
// export the final configuration
module.exports = Encore.getWebpackConfig(); |
I don't have a mac to test it but that's probably not related to Encore since we are simply adding the It could be an issue with the plugin itself or with |
This is weird. Do you think I can anything to debug and see what's happening ? |
I'm not sure what to check... Is it only the notifications part that doesn't work? Or does Webpack also stop recompiling your files? |
It is only the notifications part that doesn't work now. Do you think it could be any issue with Macosx ? |
Hi, I don't know if this issue is still happening 7 years later, but if it's the case, it sureley an issue from macOS or from Side node, we recently agreed to remove the |
Hi guys,
I just have started in webpack encore right now.
I have this on my webpack.config.js
var Encore = require('@symfony/webpack-encore');
Encore
// the project directory where all compiled assets will be stored
.setOutputPath('public/build/')
;
// export the final configuration
module.exports = Encore.getWebpackConfig();
But I just receive the notification when the first build finished, when I use --watch the notification doesn't show up..
Anyone knows whats happening ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: