2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

React tweaks (#5300)

* Add .gitignore for static web files

* Add invoke task to start frontend dev server
This commit is contained in:
Oliver
2023-07-21 09:46:44 +10:00
committed by GitHub
parent 9fe77b20e4
commit 45aa8c39b3
2 changed files with 14 additions and 0 deletions

View File

@ -829,6 +829,17 @@ def frontend_build(c):
yarn(c, "yarn run build --emptyOutDir")
@task
def frontend_dev(c):
"""Start frontend development server.
Args:
c: Context variable
"""
print("Starting frontend development server")
yarn(c, "yarn run dev")
@task(help={
'ref': "git ref, default: current git ref",
'tag': "git tag to look for release",