https://pantsbuild.org/ logo
#general
Title
# general
h

happy-kitchen-89482

01/02/2023, 6:48 PM
If you
./pants run path/to/manage.py
it will be much much faster
c

creamy-truck-92790

01/05/2023, 10:19 AM
Thanks @happy-kitchen-89482. I will try this out.
When I do this, for some reason the dependencies are not loaded...
Ok I get it. This runs a python source. So I need to add the deps there as well. I did not know that I could run a python source as well...that makes sense 😄
Ok not really faster...
and server restart does not work either
Copy code
Resolving transitive targets
Always takes roughly 10 seconds.
Okay sandbox=False and loop=True solves it. nice...thanks for pointing this out
h

happy-kitchen-89482

01/05/2023, 10:56 AM
Ah yes, sorry, should have been clearer about all the messing around
c

creamy-truck-92790

01/05/2023, 11:49 AM
No problem - Happy that it works now 🙂
3 Views