sdedic commented on code in PR #6079:
URL: https://github.com/apache/netbeans/pull/6079#discussion_r1234220496
##########
java/java.lsp.server/vscode/package.json:
##########
@@ -1025,29 +1038,32 @@
},
"scripts": {
"vscode:prepublish": "npm run compile",
- "compile": "tsc -p ./",
- "watch": "tsc -watch -p ./",
+ "compile": "tsc -p ./; node ./esbuild.js",
+ "watch": "tsc -watch -p ./ | node ./esbuild.js --watch",
Review Comment:
I was surprised; I understand that shell `|` operator starts both processes,
but also connects (?) their stdins - for parallel runs I've seen techniques
using `npm-run-all` or `concurrently` packages. But this is shorter as long as
it works as expected.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists