Skip to content

Commit

Permalink
Merge pull request #837 from openSUSE/watch_files
Browse files Browse the repository at this point in the history
Webpack-dev-server - watch translation relates files
  • Loading branch information
lslezak authored Nov 2, 2023
2 parents fe9eac1 + 07e8952 commit 233c829
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ module.exports = {
externals: { cockpit: "cockpit" },
devServer: {
hot: true,
// additionally watch these files for changes
watchFiles: ["./src/manifest.json", "./po/*.po"],
proxy: {
// forward all cockpit connections to a real Cockpit instance
"/cockpit": {
Expand Down

0 comments on commit 233c829

Please sign in to comment.