Welcome to visit Yang's website, click here.
It has a super-cool nobody-can-remember URL address (https://johnniexdu.github.io/) 😢
For windows:
- node.js (v10.22.0)
- npm (v6.14.6)
- MSVC 2017 v15.0 (MSVC 2019 should also be ok)
>> cd <project dir>
>> npm clean cache --force
>> npm install
>> cd <project dir>
>> npm run watch
While developing, any changes in index.html
\ ./scss/style.scss
\ ./js/scripts.js
will be watched.
you may get the output:
...
[16:53:43] Starting server...
[16:53:43] Server started http://localhost:8080
[16:53:43] LiveReload started on port 35729
[16:53:43] Running server
...
Open http://localhost:8080
in browser for real-time loading.
Thanks Ryan Fitzgerald for sharing the source code template.
Besides, some new parts are added.
- update
gulpfile.js
for automatic web reloading - update
gulpfile.js
for watching*.html
- add
fancy-log
package for log print - add
gulp-connect
package for webserver reloading - update
package.json
- update
/js/script.js
for animation
📧 [email protected] (GMail)
Very welcome to contact me!
Completely free (MIT)!
See LICENSE.md for more.