package.json ENOSPC
文件监控增加一些
echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
http://andrewhfarmer.com/starter-project/
https://github.com/petehunt/react-howto/blob/master/README-zh.md
https://github.com/petehunt/webpack-howto/blob/master/README-zh.md
output: {
path: "/home/proj/public/assets", // webpack的build路径
publicPath: "/assets/" // 你require的路径
}
location / {
root /var/www;
index index.html;
try_files $uri $uri/ /index.html;
}