ZeroOmega/omega-web/grunt/watch.coffee
FelisCatus 9d71c91634 Add a mini-popup page with the menu only.
This allows the popup to load faster for most cases. If advanced
features are used, the user will be redirected to the full popup page.
2017-03-15 19:01:06 -07:00

40 lines
735 B
CoffeeScript

module.exports =
grunt:
options:
reload: true
files:
'grunt/*'
tasks: ['coffeelint:tasks', 'default']
copy_pac:
files:
'node_modules/omega-pac/omega_pac.min.js'
tasks: 'copy:pac'
copy_lib:
files:
'lib/**/*'
tasks: 'copy:lib'
copy_img:
files:
'img/**/*'
tasks: 'copy:img'
copy_popup:
files:
'src/popup/**/*'
tasks: 'copy:popup'
jade:
files: ['src/**/*.jade']
tasks: 'jade'
less:
files:
'src/less/**/*.less'
tasks: ['less', 'autoprefixer']
coffeelint:
files: 'src/**/*.coffee'
tasks: ['coffeelint']
coffee:
files: [
'src/coffee/**/*.coffee'
'src/omega/**/*.coffee'
]
tasks: ['coffee']