use timestamp if directly loading dev
This commit is contained in:
parent
2b2e8c8ef2
commit
d8221192d9
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
callback = args[args.length - 1],
|
callback = args[args.length - 1],
|
||||||
path = getPath(),
|
path = getPath(),
|
||||||
regexp = /dev\/$/,
|
regexp = /dev\/$/,
|
||||||
version;
|
version = +new Date();
|
||||||
|
|
||||||
if (args[0] === true && regexp.test(path)) {
|
if (args[0] === true && regexp.test(path)) {
|
||||||
path = path.replace(regexp, 'build/');
|
path = path.replace(regexp, 'build/');
|
||||||
|
|
Loading…
Reference in a new issue