jlengstorf / learn-rollup

This is an example project to accompany a tutorial on using Rollup.
https://code.lengstorf.com/learn-rollup-js/
ISC License
191 stars 61 forks source link

Can't preview in http://127.0.0.1:35729/ #25

Closed showzyl closed 7 years ago

showzyl commented 7 years ago

git clone https://github.com/jlengstorf/learn-rollup/ cd learn-rollup yarn install npm run watch bundle is well, but can't preview in http://127.0.0.1:35729/ my node version is v7.6.0

showzyl commented 7 years ago

i was opened index.html preview in the browser, it worked. but how to add multi page entry?

jlengstorf commented 7 years ago

Hi, @showzyl — I'm not sure I understand the question. Can you explain what you're trying to do?

Thanks!

showzyl commented 7 years ago

hi, @jlengstorf i want a dev-server like webpack-dev-server. but the demo didn't provide.😀

showzyl commented 7 years ago

i run npm run reload http://127.0.0.1:35729/ has nothing.

jlengstorf commented 7 years ago

Hey, @showzyl — I have a walkthrough for setting up a dev server with LiveReload in the second part of the series: https://code.lengstorf.com/learn-rollup-css/#livereload

I'm going to close this. Good luck!