Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce gulp watch script #125

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jonaskirkemyr
Copy link

To help ease the development, gulp and npm scripts for serving and watching the source files for changes are introduced.
The built files, generated from gulp build, are served and watched for changes by browser-sync, since some features doesn't work when serving the ./src folder directly
The watch task in gulp re-uses previous defined jobs, and uses gulp built-in watcher to watch for changes in the source files.
Updated README to describe the use of npm scripts, since the replaced README description required gulp to be installed globally to work

Introduced gulp development tasks to watch source files, serve built
project using browser-sync, and automatically reload the server upon
changes
Added npm script for building the project, and running the project in
development mode
Updated README describing the usage of the new npm scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant