Hi Christian, Currently, installing from a local directory is in effect a link. We run `npm pack` to determine whether the extension has changed on disk. It shouldn't prompt you to rebuild unless it computes a different SHA sum, is it giving you false positives?
Regards, Steve On Friday, August 24, 2018 at 2:30:36 PM UTC-5, Christian Schafmeister wrote: > > Hi, > > What is the best practice for building bleeding edge jupyterlab with > extensions? > > We are building a bleeding edge jupyterlab application that contains two > extensions (nglview and bqplot). > We have wholesale translated the Python code for these widgets into Common > Lisp and we need to guarantee that the Javascript code for these extensions > precisely matches the Common Lisp code and the Python code. > So we are installing the jupyter extensions from local source directories > using the code below. > jupyterlab comes up immediately and then it appears to build the > jupyterlab application again and again every time I hit the "Reload" button > on my browser reloading jupyterlab. > > Why is this? > > Is there any way to build the jupyterlab Javascript application once and > for all - before I start jupyterlab? > > > /opt/clasp/bin/jupyter-labextension install > @jupyter-widgets/[email protected] --no-build > # Don't rely on npm/yarn/whatever to install nglview widgets > /opt/clasp/bin/jupyter-labextension install > /opt/clasp/lib/quicklisp/local-projects/cl-nglview/js --no-build > # Don't rely on npm/yarn/whatever to install bqplot widgets > /opt/clasp/bin/jupyter-labextension install > /opt/clasp/lib/quicklisp/local-projects/cl-bqplot/js --no-build > /opt/clasp/bin/jupyter-lab build > > Christian Schafmeister, > Professor, Chemistry Department > Temple University > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/55f46e0c-af6b-493d-b1e9-a91cbd554892%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
