arosien opened a new issue, #770:
URL: https://github.com/apache/daffodil-vscode/issues/770

   `yarn watch` launches a number of concurrent commands via 
`build/yarn-scripts.ts`. Two are interacting:
   - `yarn scalawatch`, which builds the backend package zip; and
   - `webpack --watch --devtool nosources-source-map --config 
./webpack/ext-dev.webpack.config.js`, which has a hook that unzips the backend 
package zip.
   
   The first partially writes the zip when (potentially) the second unzips it 
(and fails). This then leaves the zip in an invalid state as both processes are 
killed when an error occurs.
   
   Suggestion: perhaps a successful build of the backend package zip should 
copy it to a different directory (`dist`?), and the webpack unzip code should 
look for it there. That would make the zip build "atomic".
   
   cc: @shanedell 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to