Skip to content

Commit

Permalink
Removed script version change based on time
Browse files Browse the repository at this point in the history
Changing the version of a script every page load breaks js debugging, a new file url will remove any preexisting breakpoints making it impossible to have breakpoints early in page load.
  • Loading branch information
CamdenSegal committed May 21, 2015
1 parent 49d4b27 commit b1982bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inc/scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ function _s_scripts() {
if ( true === $debug ) {

$suffix = '';
$version = time();
wp_enqueue_script( 'live-reload', '//localhost:35729/livereload.js', array(), $version, true );

}
Expand Down

0 comments on commit b1982bc

Please sign in to comment.