https://github.com/jacobway/fe_start_up
Front end workflow start up template
https://github.com/jacobway/fe_start_up
Last synced: about 1 year ago
JSON representation
Front end workflow start up template
- Host: GitHub
- URL: https://github.com/jacobway/fe_start_up
- Owner: JacobWay
- Created: 2016-11-21T18:30:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-21T18:49:43.000Z (over 9 years ago)
- Last Synced: 2025-01-29T13:08:57.090Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Function Lists:
1. Live reloading web server.
2. JS lint.
3. Sass compile.
4. Concat and compress file.
5. Unit test.
6. RequireJS for file and module loader.
### Undone Lists:
1. Performance test.
2. Add Gulp
---
### Config an live reloading server.
install grunt-contrib-watch, grunt-contrib-connect.
In connect, watch directives, there is a parameter livereload, configing it to true.
```javascript
connect: {
options: {
livereload: true,
}
}
watch: {
options: {
livereload: true,
}
}
```
**caveat**:
Don't config keepalive parameter in connect directive. It will block watch task.
keepalive: true // Don't
### JS lint
npm install --save-dev grunt-contrib-jshint