Question: how to set up dev environment
bw2 opened this issue · 1 comments
bw2 commented
Hi, I'm working on a custom track and am having trouble setting up an efficient development environment.
Currently, when I change the code, I need to rerun npm build
before I can see the changes in Chrome. This takes ~30 seconds.
Is there a way to have continuous incremental builds or set up IntelliJ to show changes more quickly?
My current build config in IntelliJ looks like
but only shows the previously-built web code.
bw2 commented
Never mind, just figured it out!
I needed to change
import igv from "../dist/igv.esm.min.js"
to
import igv from "../js/index.js"
before "Running" quick-start.html in IntelliJ