customization - How can I setup a development environment which auto refresh page when code have changed

Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress.

Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 5 years ago.

Improve this question

When develop a website with Wordpress, I spent a lot of time to change small pieces of code like CSS, HTML element.

Each time I did that, I needed to do so many steps:

  1. Change the code
  2. Save it
  3. Switch to web page window
  4. Refresh the web page
  5. Check the updated content

I had 2 monitors in my workspace. So I wish that have some technical help me just save the code then web page will auto refresh.

After that, I just have 3 steps:

  1. Change the code
  2. Save it
  3. Check the updated content

Many thanks for your help!!!

Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 5 years ago.

Improve this question

When develop a website with Wordpress, I spent a lot of time to change small pieces of code like CSS, HTML element.

Each time I did that, I needed to do so many steps:

  1. Change the code
  2. Save it
  3. Switch to web page window
  4. Refresh the web page
  5. Check the updated content

I had 2 monitors in my workspace. So I wish that have some technical help me just save the code then web page will auto refresh.

After that, I just have 3 steps:

  1. Change the code
  2. Save it
  3. Check the updated content

Many thanks for your help!!!

Share Improve this question asked Jun 7, 2019 at 1:20 LinherestLinherest 32 bronze badges 2
  • This is definitely possible...node.js or browswersyc can start you in the right direction, but it's way out of scope for this stack. – rudtek Commented Jun 8, 2019 at 14:53
  • I did this before with static HTML project by using node.js. I guess we need a specific technique to do the same thing with Wordpress so I asked for help. I find out that BrowserSync is a perfect solution in this case. Thank you so much! – Linherest Commented Jun 8, 2019 at 16:00
Add a comment  | 

1 Answer 1

Reset to default 0

Something like BrowserSync is what you're looking for ( https://scotch.io/tutorials/how-to-use-browsersync-for-faster-development )

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745429392a4627323.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信