Giter Site home page Giter Site logo

gatch-gulp's Introduction

gatch-gulp

These are gatch configuration files.

  • package.json
  • gulpfile.js
  • gatch-config.json

Usage

Set up:$ gatch init Starting gatch:$ gatch start Cheking version:$ gatch -v

Introduction

1. $mkdir mysite

2. $cd mysite

3. $gatch init

4. $npm install

5. $vi gatch-config.json

6. $gatch start

First , you make a new directory for work.And move your working directory, run gatch init and npm install to install dependencies. Then, modify gatch-config.json to your information. After you set up gatch-config.json you can run gatch start command , And you'll see your web site on WebBrowser. After you edit watches in your gatch-config.json,and if those files are changed that will reflect on your browser when you save a file. So it can help your reloading task and it is possible to syncronize of browser on multiple access.

About gatch-config.json

  • targetDir Set your root working directory. (Default:common)
  • target Your index.html file name. (Default:index.html)
  • watches Please set your files or directory that you want to monitoring of change.(Default:common/**)
  • port Working port number. (Default:3000)
  • openBrowser Launching browser when you perform to command.(Default:true)

Section watches can use wild card,Like this...

  • common/js/*.js
  • common/**

##Warning if you made html file.Like this ... ` hello gatch!

` but it doesn't work.because it has `html validation`. So in this case , `` tag and `` tag are required.And it will work.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rinov/gatch. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

gatch-gulp's People

Contributors

rinov avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.