Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我watchify第一次运行(最新版本)时,它会创建捆绑包,Web 应用程序加载正常。但是更改一个文件,保存它,然后 watchify 会创建一个空的捆绑文件,即它是空白的。我必须Ctrl+C并重新启动 watchify 才能检测到更改。
watchify
npm install -g watchify npm install reactify watchify --debug -t reactify ./src/app.jsx -o ../build/app.js