We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f30c1 commit c4b9f3bCopy full SHA for c4b9f3b
src/afterpython/cli/commands/dev.py
@@ -140,12 +140,12 @@ def cleanup_processes():
140
try:
141
prebuild()
142
143
+ # Clear .env.development before writing new ports
144
+ env_file = paths.website_path / ".env.development"
145
+ env_file.write_text("") # Clear existing content
146
+
147
# myst development servers
148
if enabled_content_types:
- # Clear .env.development before writing new ports
- env_file = paths.website_path / ".env.development"
- env_file.write_text("") # Clear existing content
-
149
next_port = 3000
150
for content_type in CONTENT_TYPES:
151
# Skip content types that are not enabled
0 commit comments