Procfile能有意见吗?

是否可以将注释放在Procfile中? 如果是这样,语法是什么?

不知道这是否重要,但我在Heroku上托pipe。

是的,您可以将注释放在Procfile中。 我知道parsingProcfiles, 领class和放弃的两个程序。

在起源于Procfile格式的领class中,Procfile可以包含注释,空白行和实际上看起来不像有意义的Procfile行的任​​何行。

从parsingProcfile的类中 :

# A valid Procfile entry is captured by this regex: # # /^([A-Za-z0-9_]+):\s*(.+)$/ # # All other lines are ignored. 

Heroku使用的放弃遵循相同的scheme 。