mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 08:48:05 +00:00
require dev dependencies in production build due to typescript
This commit is contained in:
parent
d7f721af01
commit
1101cc7cc2
1 changed files with 1 additions and 7 deletions
|
|
@ -317,16 +317,10 @@ async def node_initial(dev_mode=False):
|
|||
|
||||
ui_path = Path(__file__).parent.parent / "ui"
|
||||
|
||||
mode = ""
|
||||
if not dev_mode:
|
||||
mode = "--prod"
|
||||
|
||||
command = "yarn {m} --silent --emoji false".format(m=mode)
|
||||
|
||||
all_messages = []
|
||||
try:
|
||||
proc = await asyncio.create_subprocess_shell(
|
||||
cmd=command,
|
||||
cmd="yarn --silent --emoji false",
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.PIPE,
|
||||
cwd=ui_path,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue