Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = ->
- BASE_PATH = 'app/'
- @initConfig
- express:
- all:
- options:
- port: 9090
- hostname: '0.0.0.0'
- open: true
- livereload: true
- bases: ['app']
- watch:
- pages:
- files: [BASE_PATH + '*.html']
- options:
- spawn: true
- interrupt: true
- livereload: true
- scripts:
- files: [BASE_PATH + 'scripts/**/*.js']
- options:
- spawn: true
- interrupt: true
- livereload: true
- styles:
- files: [BASE_PATH + 'styles/**/*.scss']
- options:
- spawn: true
- interrupt: true
- livereload: true
- @loadNpmTasks 'grunt-express'
- @loadNpmTasks 'grunt-contrib-watch'
- @registerTask 'server', ['express', 'watch']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement