mirror of
https://github.com/arnaucube/commonroutesApp.git
synced 2026-02-08 12:06:50 +01:00
geolocation added on offerCar and travel page
This commit is contained in:
50
www/lib/ui-leaflet/grunt/watch.js
Normal file
50
www/lib/ui-leaflet/grunt/watch.js
Normal file
@@ -0,0 +1,50 @@
|
||||
'use strict';
|
||||
var getAvailPort = require('./utils/getAvailPort');
|
||||
var port = getAvailPort(7777);
|
||||
|
||||
var _files = ['src/**/*.js'];
|
||||
var _testFiles = ['test/unit/**.js', 'test/unit/**.coffee',
|
||||
'test/e2e/**.js', 'test/unit/**/**.js', 'test/unit/**/**.coffee', 'test/e2e/**/**.js'];
|
||||
|
||||
module.exports = function (grunt, options) {
|
||||
return {
|
||||
// NOT WORTH THE PINTA when having multiple watches
|
||||
// options: {
|
||||
// livereload: port
|
||||
// },
|
||||
fast: {
|
||||
files: _files,
|
||||
tasks: [
|
||||
'fastbuild',
|
||||
'uglify',
|
||||
'concat:license'
|
||||
]
|
||||
},
|
||||
source: {
|
||||
files: _files,
|
||||
tasks: [
|
||||
'fastbuild',
|
||||
'uglify',
|
||||
'testunit',
|
||||
'concat:license'
|
||||
]
|
||||
},
|
||||
unit: {
|
||||
files: _testFiles,
|
||||
tasks: [
|
||||
'fastbuild',
|
||||
'karma'
|
||||
]
|
||||
},
|
||||
examples: {
|
||||
files: ['examples/*.html'],
|
||||
tasks: [
|
||||
'examples'
|
||||
]
|
||||
},
|
||||
website: {
|
||||
files: ['website/src/js/app.js', 'website/src/js/**/*.js'],
|
||||
tasks: ['jshint', 'concat:website', 'uglify'] //'ngmin'
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user