You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I want to use the livereload-plugin in my webApp. But somehow it doesn't work. My Webapp should run on port 8080,
which I have defined in devServer. Could you please check my file, which looks as follows?
`const CopyPlugin = require('copy-webpack-plugin');
var LiveReloadPlugin = require('webpack-livereload-plugin');
Hello,
I want to use the livereload-plugin in my webApp. But somehow it doesn't work. My Webapp should run on port 8080,
which I have defined in devServer. Could you please check my file, which looks as follows?
`const CopyPlugin = require('copy-webpack-plugin');
var LiveReloadPlugin = require('webpack-livereload-plugin');
module.exports = {
plugins: [
new LiveReloadPlugin()
],
entry: {
bundle: ['./app/app.js']
},
output: {
path: __dirname + '/public',
filename: 'app.js'
},
module: {
rules: [
{
test: /.bpmn$/,
use: 'raw-loader'
}
]
},
devServer: {
port: 8080,
},
plugins: [
new CopyPlugin({
patterns: [
{ from: 'assets/', to: 'vendor/bpmn-js', context: 'node_modules/bpmn-js/dist/' },
{ from: '/*.{html,css,png}', context: 'app/' },
],
}),
],
mode: 'development',
devtool: 'source-map'
};
`
thanks and kind regards
The text was updated successfully, but these errors were encountered: