Skip to content

Conversation

@rodrigo-brito
Copy link
Member

Incluí a biblioteca de livereload no gulp. O esquema de ativação é o mesmo do Grunt,
Basta incluir o JS para ativar o websocket.

wp_enqueue_script( 'odin-livereload', 'http://localhost:35729/livereload.js?snipver=1', array(), null, true );

Para definir a pasta que os arquivos PHP serão monitorados, incluí também uma nova variável para setar a raiz do projeto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants