methodofaction / Method-Draw

Method Draw, the SVG Editor for Method of Action
http://editor.method.ac
MIT License
2.79k stars 705 forks source link

Introduce gulp watch script #125

Open jonaskirkemyr opened 3 years ago

jonaskirkemyr commented 3 years ago

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