mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Always run the version task again
This commit is contained in:
parent
1104798a3d
commit
d352bfc78b
1 changed files with 3 additions and 5 deletions
|
@ -50,12 +50,10 @@ elixir(function(mix) {
|
|||
.scripts(jsLocal, 'public/js/app.js', 'resources/assets/js/')
|
||||
.scripts(jsDashboard, 'public/js/dashboard.js', 'resources/assets/js/')
|
||||
.scripts(jsBower, 'public/js/lib.js', 'bower_components/')
|
||||
.scripts(jsDashboardBower, 'public/js/lib-dashboard.js', 'bower_components/');
|
||||
.scripts(jsDashboardBower, 'public/js/lib-dashboard.js', 'bower_components/')
|
||||
.version(['css/dashboard.css', 'css/app.css', 'js/dashboard.js', 'js/app.js', 'js/lib.js', 'js/lib-dashboard.js']);
|
||||
|
||||
if (elixir.config.production) {
|
||||
// run the version function on production
|
||||
mix.version(['css/dashboard.css', 'css/app.css', 'js/dashboard.js', 'js/app.js', 'js/lib.js', 'js/lib-dashboard.js']);
|
||||
} else {
|
||||
if (!elixir.config.production) {
|
||||
// start livereload when not production
|
||||
require('laravel-elixir-livereload');
|
||||
mix.livereload();
|
||||
|
|
Loading…
Reference in a new issue