Thanks for the instructions, even if they are not recommended.
There are several reasons I want to build from the commandline:
-
I am using Typescript, and when I am iterating I run the Typescript compiler from the commandline, and then use the ‘Run’ menu item in Pixelbox. It is slightly annoying to have two steps to see my code changes, instead of one step. If I can build from the commandline, I can have a shell script do both things.
-
Using either the ‘Run’ menu or built-in web server is very slow. When I use the built-in web server,
index.js
takes 19 seconds to load. When I am using nginx running locally with an already builtindex.js
, it loads instantly. I don’t know why this is so slow, but I am guessing building on the commandline will be faster than what Pixelbox is doing. -
Touchscreen events as implemented in
pointerEvents
are broken. I wanted to see if I can fix them by modifying the Pixelbox core source code. It’s not clear to me how I can use my own modified version of Pixelbox core from within the Pixelbox UI. I figured this would be easy to do if I am building from the commandline.
FYI, I am developing on a Chromebook, using the Linux version of Pixelbox. I wonder if this has anything to do with why generating index.js
happens so slowly.