[zanata/zanata-platform] d08057: chore(frontend dev builds): fix rebuild for fronte...
GitHub
noreply at github.com
Sat Mar 18 08:22:36 UTC 2017
Branch: refs/heads/ZNTA-1735-editorglossary
Home: https://github.com/zanata/zanata-platform
Commit: d080578a992227110eb543a3234313dab4a40616
https://github.com/zanata/zanata-platform/commit/d080578a992227110eb543a3234313dab4a40616
Author: David Mason <drdmason at gmail.com>
Date: 2017-03-18 (Sat, 18 Mar 2017)
Changed paths:
M server/zanata-frontend/src/frontend/makefile
M server/zanata-frontend/src/frontend/package.json
M server/zanata-frontend/src/frontend/webpack.dev.config.js
A server/zanata-frontend/src/frontend/webpack.dev.editor.config.js
Log Message:
-----------
chore(frontend dev builds): fix rebuild for frontend and editor watch tasks
Something was going wrong with rebuild, even though the first build worked.
It seems like it was related to multiple-modules not playing well with
webpack-dev-server, so making separate configs with a single entrypoint each
did the trick.
Hot reload is still not working quite as expected - a refresh is still
needed - but this probably needs some more modules and config to make it
work. Better do that separately rather than complicate this fix.
More information about the zanata-commits
mailing list