Skip to content

Commit 112ade8

Browse files
committed
Remove preview command from main execution flow
1 parent 9048c42 commit 112ade8

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

ssg.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,3 @@ def getblogposts():
112112
shutil.rmtree(dst_static)
113113
shutil.copytree(src_static, dst_static)
114114

115-
if sys.argv[1] == "--preview":
116-
os.system('cd output && python3 -m http.server')
117-
else:
118-
pass

0 commit comments

Comments
 (0)