看板 Ajax 關於我們 聯絡資訊
https://gist.github.com/y2468101216/bc55984ebd0c7dc86667 理論上不應該有問題,網路上的範例都是轉到buffer裡面在寫入,而fs.writeFile有 callback可用所以會block住。 可參考下面這篇stackflow解法: http://goo.gl/W2UV84 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.163.30.31 ※ 文章網址: https://www.ptt.cc/bbs/Ajax/M.1449219513.A.EB1.html