use timestamp if directly loading dev

This commit is contained in:
j 2014-01-22 10:19:03 +00:00
parent 2b2e8c8ef2
commit d8221192d9

View file

@ -10,7 +10,7 @@
callback = args[args.length - 1],
path = getPath(),
regexp = /dev\/$/,
version;
version = +new Date();
if (args[0] === true && regexp.test(path)) {
path = path.replace(regexp, 'build/');