Skip to content

enableBuildNotifications --watch  #362

@hugoalexmartins

Description

@hugoalexmartins

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/')

// 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();

;

// 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions