<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 10, 2018 at 10:04 PM, Thomas De Schampheleire <span dir="ltr"><<a href="mailto:patrickdepinguin@gmail.com" target="_blank">patrickdepinguin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
There is also an open point about the 'watch' feature and whether or<br>
not it should be integrated in gearbox --reload rather than<br>
introducing a new 'nodemon' mechanism.<br>
The introduction of 'npm run X' has also raised some comments in the<br>
past regarding cross-platform support. These is IMHO not bikeshedding,<br>
it's about being careful in adding extra complexity or going in a<br>
wrong direction.</blockquote><div><br></div><div>Hi Thomas,</div><div><br></div><div>If node is just involved in compiling js/css and bundling assets you might want to have a look at</div><div><a href="https://github.com/amol-/dukpy">https://github.com/amol-/dukpy</a></div><div><br></div><div>It's a project that I created exactly to avoid the need to have two dependency managers (npm and pip)<br></div><div>and two execution environments (python and node) for a Python web app. </div><div><br></div><div>It has a builtin less compiler ( <a href="https://github.com/amol-/dukpy#less-transpiling">https://github.com/amol-/dukpy#less-transpiling</a> ) which is integrated with WebAssets ( <a href="https://webassets.readthedocs.io/en/latest/">https://webassets.readthedocs.io/en/latest/</a> ) to generate css bundles out of less files without the need to install node/lessc. </div><div><br></div><div><br></div><div>And through support for <a href="http://npmjs.org">npmjs.org</a> ( <a href="https://github.com/amol-/dukpy#installing-packages-from-npmjsorg">https://github.com/amol-/dukpy#installing-packages-from-npmjsorg</a> ) it's in theory possible to have setup.py also install node dependencies.</div><div><br></div><div><br></div><div><br></div></div><br></div></div>