Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Commit 7e708c0

Browse files
committed
Update build process.
1 parent aa9fe27 commit 7e708c0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Gruntfile.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ module.exports = function(grunt) {
4242
* Deletes our production folder before we create a new build.
4343
*/
4444
clean: {
45-
before: ['web'],
46-
after: ['.tmp']
45+
before: ['web', '.tmp']
4746
},
4847

4948
/**
@@ -86,14 +85,14 @@ module.exports = function(grunt) {
8685
livereload: true
8786
},
8887
files: ['<%= env.DIR_SRC %>/**/*.ts'],
89-
tasks: ['buildTypeScript', 'clean:after']
88+
tasks: ['buildTypeScript']
9089
},
9190
templates: {
9291
options: {
9392
livereload: true
9493
},
9594
files: ['<%= env.DIR_SRC %>/**/*.hbs'],
96-
tasks: ['precompileJst', 'clean:after']
95+
tasks: ['precompileJst']
9796
}
9897
}
9998
});
@@ -111,8 +110,7 @@ module.exports = function(grunt) {
111110
'precompileJst',
112111
'buildStyles',
113112
'buildTypeScript',
114-
'copy:data',
115-
'clean:after'
113+
'copy:data'
116114
]);
117115

118116
grunt.registerTask('launch', 'Runs build, launches http-server, watches for file changes', [

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy