parallel-webpack icon indicating copy to clipboard operation
parallel-webpack copied to clipboard

Watch usage with server startup

Open coreyleelarson opened this issue 8 years ago • 2 comments

I'm really interested in using this package for bundling our client/server scripts in parallel, however, I am struggling with how to go about orchestrating running the builds, with watch enabled, and starting our server.

ex. Webpack Bundles -> Server Startup -> Watcher Start

Do you have any thoughts on this topic?

coreyleelarson avatar Jan 14 '17 03:01 coreyleelarson

Sorry, I think I'm missing a bit of context to answer that. Do you intend to do that as part of a gulp file, an express middleware or something similar?

pago avatar Jan 20 '17 22:01 pago

I had success with nodemon-webpack-plugin and all the latest typescript, parallel-webpack, webpack 3. have you tried that? Once that works for webpack --watch it should automatically work for parallel-webpack --watch.

JasonKleban avatar Oct 12 '17 03:10 JasonKleban